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

PropertyTypeUtil does not handle URIs correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.4.0.Final, 2.2.1.GA
    • 2.3.0.Final
    • Graph (2.x)
    • None

    Description

      org.modeshape.jcr.PropertyTypeUtil.dnaPropertyTypeFor() does not handle PropertyType.URI, but rather falls back to String (if assertions are disabled).

      The following lines are missing in the switch statement:
      case PropertyType.URI:
      return org.modeshape.graph.property.PropertyType.URI;

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            simon.g Simon Gunzenreiner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: