Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6596

Fix event handler's field 'Current document properties have changed' when using properties of 'file' schema

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.2
    • Fix Version/s: 4.10.0
    • Component/s: Automation

      Description

      When using any properties of schema file in field Current document properties have changed in the definition of an event handler, the automation script or chain does not get triggered.

      Event handler's definition

      • Events: {{Before document modification
      • Current document properties have changed*: add property content/data of schema file

      Required fix is to be able to select file:content whereas only subfields of "file:content" are available.

      Workaround

      Custom EL expression field:

      Document.doc.getProperty("file:content").dirty && Document.doc.getAdapter(org.nuxeo.ecm.core.api.blobholder.BlobHolder).blob != null
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: