jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-928) NodeTypeManagerImpl.hasNodeType should allow unknown prefixes
Date Thu, 17 May 2007 09:04:16 GMT

     [ 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.


Mime
View raw message