Uploaded image for project: 'Nuxeo JS Client'
  1. Nuxeo JS Client
  2. NXJS-174

Allow document objects to be passed as operation inputs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.10.0
    • Component/s: Misc
    • Tags:
    • Sprint:
      nxfit 10.3.8
    • Story Points:
      3

      Description

      Right now, if a document is passed as an input of an operation, it's id is set as the input instead of the document object, which is a problem if the input is a document model for a document that isn't created yet.

      This can be done by replacing this line:

      this._automationParams.input = input.uid;
      

      by:

      this._automationParams.input = input.uid || input;
      

        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 - 3 hours, 45 minutes
                  3h 45m