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

Binary should be serializable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.6, 5.2 M3
    • Fix Version/s: 5.1.x, 5.2 M4
    • Component/s: Core

      Description

      When using the UIEditableList component, the blob instance are serialized / deserialized by the initializeData method of EditableModelImpl. This causes any later call to Binary.getStream() crash with a NPE since the file field of Binary is transient hence set to null after deserialization.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: