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

FileManager.Import prevents saving changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2021.28
    • Fix Version/s: None
    • Component/s: Automation

      Description

      I have an Automation Script that runs during a "Before document modification" event. As part of this script there is a call to `FileManager.Import`. When this call is made, changes to the current document are no longer saved. If I remove the `FileManager.Import` call, changes are saved as normal.

      I will provide an example Studio project.

      Steps to reproduce:

      • Create a Workspace
      • Create a Message
      • Edit the message (open Edit dialog)
      • Notice that changes to dc:description work; the value is automatically updated using Fn.getNextID()
      • Upload a file in the provided Nuxeo Dropzone
      • Notice that changes to dc:description are not saved

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jfletcher Joshua Fletcher
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: