Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1998

JcrValue#equals should support URI properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.4.0.Final
    • 3.3.x-prod-ip6.0
    • JCR
    • None

      Code like this:

       
      Value v = valueFactory.createValue("some-uri", PropertyType.URI);
      v.equals(someOtherValue);
      

      Fails with this error:

      org.modeshape.common.SystemFailureException: Invalid property type: 11
      at org.modeshape.jcr.JcrValue.equals(JcrValue.java:264) ~[modeshape-jcr-3.3.0.Final.jar:3.3.0.Final]

      It looks like JcrValue#equals does not support URI PropertyTypes.

              rhauch Randall Hauch (Inactive)
              cbeer_jira Chris Beer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: