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

Fix crash when updating a list of files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.6, 5.2 M4
    • Fix Version/s: 5.3.1
    • Component/s: None
    • Environment:
      Nuxeo-5.2-20081231, JackRabbit repo

      Description

      When using JackRabbit, since NXP-1085, updating list of files may crash.

      Steps to reproduce:

      • use nxu:inputList with diff="false" on a document files layout/page
      • add two attached files on a document
      • navigate elsewhere
      • come back on the document page
      • edit just one of the files

      Ends up with a jcr error, due to persist() being called on a LazyBlob that's never been initialized (null input stream)

      => need to fix LazyBlob#persist() and make sure that the list widget takes the widget 'diff' property into account

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day, 1 hour
                1d 1h
                Remaining:
                Remaining Estimate - 1 day, 1 hour
                1d 1h
                Logged:
                Time Spent - Not Specified
                Not Specified