Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5192

PropertyUtil should not cast a Multi property value to String but keep the original type.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.1
    • 5.0.1
    • core
    • None

    Description

      Currently in case of a Collection value , PropertyUtil.setProperty() will create a MultiValue property of type String for the Collection value.
      The Collection value type object is ignore and individual value are caste to String.

      This is wrong.
      We have to create a multi property value of type Double if the value is a collection of double.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ehechinger Eric Hechinger
              ehechinger Eric Hechinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD