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:00:34 UTC
[jira] Created: (JCR-928) NodeTypeManagerImpl.hasNodeType should
allow unknown prefixes
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.
[jira] Resolved: (JCR-928) NodeTypeManagerImpl.hasNodeType should
allow unknown prefixes
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (JCR-928) NodeTypeManagerImpl.hasNodeType should
allow unknown prefixes
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-928:
------------------------------
Component/s: jackrabbit-core
> NodeTypeManagerImpl.hasNodeType should allow unknown prefixes
> -------------------------------------------------------------
>
> Key: JCR-928
> URL: https://issues.apache.org/jira/browse/JCR-928
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core, nodetype
> Reporter: Jukka Zitting
> Assignee: 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.