You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2010/02/08 16:35:27 UTC

[jira] Created: (JCR-2487) WorkspaceItemStateFactory#createItemStates throws ClassCastException

WorkspaceItemStateFactory#createItemStates throws ClassCastException
--------------------------------------------------------------------

                 Key: JCR-2487
                 URL: https://issues.apache.org/jira/browse/JCR-2487
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr2spi
    Affects Versions: 2.1.0
            Reporter: Michael Dürig
            Assignee: Michael Dürig


When the first item in the ItemInfo iterator returned by the RepositoryService is a PropertyInfo instead a NodeInfo, a ClassCastException is thrown. This should rather be a ItemNotFoundException.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2487) WorkspaceItemStateFactory#createItemStates throws ClassCastException

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved JCR-2487.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

Fixed at revision 907693

> WorkspaceItemStateFactory#createItemStates throws ClassCastException
> --------------------------------------------------------------------
>
>                 Key: JCR-2487
>                 URL: https://issues.apache.org/jira/browse/JCR-2487
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 2.1.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.1.0
>
>
> When the first item in the ItemInfo iterator returned by the RepositoryService is a PropertyInfo instead a NodeInfo, a ClassCastException is thrown. This should rather be a ItemNotFoundException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.