jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Stocker (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2888) Namespace comparison in Namespace.java doesn't work, if a node return null, but it expects an empty string
Date Thu, 10 Feb 2011 10:31:58 GMT

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

Christian Stocker updated JCR-2888:
-----------------------------------

    Attachment: patch_commit_ebebb62c3df0.patch

Patch is attached, which solves the issue

> Namespace comparison in Namespace.java doesn't work, if a node return null, but it expects
an empty string
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2888
>                 URL: https://issues.apache.org/jira/browse/JCR-2888
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>            Reporter: Christian Stocker
>         Attachments: patch_commit_ebebb62c3df0.patch
>
>
> If a node returns null for Node.getNamespaceUri(), but Namespace.EMPTY_NAMESPACE expects
an empty string, the comparison fails. But to my knowledge a null and "" namespaceUri should
be treated the same.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message