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

Automation trace fails when using automation script in an automation chain

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 7.10-HF16
    • Component/s: Automation
    • Tags:
    • Backlog priority:
      700
    • Sprint:
      nxNest Sprint 8.4.2
    • Story Points:
      2

      Description

      If a workflow transition calls an automation chain which includes an automation script, and automation tracing is enabled, a UnsupportedOperationException is thrown when generating the trace.

      To reproduce the problem, install 7.10 with HF04 and deploy the attached Studio jar. Make a file document and start the Simple workflow on it, then Approve the document. In TracePrinter.java at line 177 the documents context variable is being appended to the string builder, but this fails because it is a DocumentWrapper where normally it would be a DocumentModelImpl or DocumentModelListImpl, and DocumentWrapper has no way to convert to a string.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1 day
                1d