You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2007/05/17 11:04:16 UTC

[jira] Resolved: (JCR-928) NodeTypeManagerImpl.hasNodeType should allow unknown prefixes

     [ https://issues.apache.org/jira/browse/JCR-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-928.
-------------------------------

    Resolution: Fixed

Fixed in revision 538843.

> NodeTypeManagerImpl.hasNodeType should allow unknown prefixes
> -------------------------------------------------------------
>
>                 Key: JCR-928
>                 URL: https://issues.apache.org/jira/browse/JCR-928
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>            Reporter: Jukka Zitting
>         Assigned To: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.4
>
>
> The current implementation of NodeTypeImpl.hasNodeType(String) throws an exception if the given name uses an unknown prefix. A better alternative would be to just return false, as by definition a node type in an unknown namespace can not exist.

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