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

The BinaryMetadataWorkListener is not triggering the work after a document update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF57, 2021.13
    • Component/s: DAM

      Description

      In the BinaryMetadataWorkListener we check only the document context data for the 'asyncExecute' flag, instead we should be checking the event properties since the context data of the document is actually copied on the event context properties on saveDocument().

      To reproduce:

      • disable the BinaryMetadataSyncListener as we dont need the picture metadata to be extracted synchronously
      • make sure the flag 'asyncExecute' is set on the document context as its being checked by the listener

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: