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

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 5.0.1
    • 5.0.2
    • None
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: