Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2888

Namespace comparison in Namespace.java doesn't work, if a node return null, but it expects an empty string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.5, 2.2.5, 2.3
    • jackrabbit-webdav
    • None

    Description

      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.

      Attachments

        1. patch_commit_ebebb62c3df0.patch
          0.6 kB
          Christian Stocker

        Activity

          People

            angela Angela Schreiber
            chregu Christian Stocker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: