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

Fix operation 'Document.filter' when using 'condition' parameter with a list of document as input

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Document.filter operation can use a list of document as input to evaluate the 'condition' parameter
    • Backlog priority:
      300
    • Sprint:
      nxL2IT 9.3.11
    • Story Points:
      2

      Description

      When expression from parameter 'condition' is evaluated, the expression's context has no knowledge of the document being iterated, making it impossible to filter a list of documents.
      Provided Document['dc:format'] == 'text' is a valid (?) expression for the condition parameter, when operation loops on list of documents, no variable Document (or other) in the expression's context is properly defined to allow a proper evaluation on each document of the list.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h