Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-2454

Fix storage and retrieval of array properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.4, 5.2 M1
    • Fix Version/s: 5.1.6
    • Component/s: None
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Array properties are now always returned as arrays of objects

      Show
      Array properties are now always returned as arrays of objects

      Description

      When setting an array of calendar instances on a document, it is read as an array of long.
      When setting an array of Long instances, it is read as a primitive array of long objects.
      Dates should be returned as an array of Calendar instances, and the API that deals with Serializable objects should not return primitive arrays.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: