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

A consistent format for document ids should be used in Automation Scripting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 9.2
    • Fix Version/s: 9.3
    • Component/s: Automation

      Description

      Given a document type that contains a field of type Document, the platform sometimes provides the id as a plain UID and sometimes provides the id with the prefix "default:" in Automation Scripts. The former works fine. The latter causes subsequent automation commands to fail (e.g. Repository.GetDocument)

      1) We should not provide data that causes commands to fail.
      2) We should provide consistent data in Automation Scripting.

      I will provide a reproducible example.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 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 - 5 hours
                  5h