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

Fix facet add/remove when schema also belongs to primary type or other facet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 7.10, 7.10-HF01
    • Fix Version/s: 6.0-HF25, 7.10-HF02, 8.1
    • Component/s: Core

      Description

      The content randomly disappears when the Picture facet is added in an event handler trigger by the document created event

      the facet is added with the following automation chain:

      - Context.FetchDocument
      - RunScript:
          script: "Document.addFacet(\"Picture\");\nDocument.doc.putContextData(\"forceViewsGeneration\",true);\n"
      - Document.Save
      

      Attached is the corresponding studio project jar (requires the DAM MP)

      To reproduce, just drag&drop several image files from the UI.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

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