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

ListProperty.remove incorrectly always removes the last list element

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF18, 8.10
    • Component/s: Automation, Core

      Description

      When calling ListProperty.remove, during saveDocument the list of states is correctly shrunk to the new list size, but each complex list element is still viewed as "not dirty" so not written to storage. The end result is that the last list element is removed, which is incorrect.

      This can easily be seen using the Blob.Remove operation, it always removes the last entry from the list.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.