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

Set the parentPath property when creating a document with FileImporter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2021.0
    • Fix Version/s: 2023.0, 2021.35
    • Component/s: File Upload
    • Release Notes Summary:
      The parentPath property is set creating a document with FileImporter.
    • Backlog priority:
      300

      Description

      To comply with our documentation https://doc.nuxeo.com/nxdoc/understand-expression-and-scripting-languages-used-in-nuxeo/#event-handlers the "parentPath" should be passed to the options of the document creation when it's done through the FileImporter.

      This way, "parentPath" will be among the context property of the event "emptyDocumentModelCreated"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m