Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1818

Empty multi-value String properties get bootstrapped as type Double

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.2
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Epic Link:
    • Processed by team:
      Pulsar
    • Sprint:
      Platform165: pre-GA

      Description

      It appears that we use Node#setProperty(String name, Value[] values) when creating an empty multi-valued property. There is not way to convey the desired type in this API, and apparently, Jackrabbit defaults to Double.

      Instead, we may need to use the Node#setProperty(String name, Value[] values, int type) API to make sure the correct type is used (typically: String).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tjeger Tobias Jeger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: