Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4803

Fix automation chain's YAML editor when dealing with MVEL expression in 'Properties' parameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 73.15.2
    • Fix Version/s: 3.13.0
    • Component/s: Automation
    • Backlog priority:
      300
    • Sprint:
      NOS 11.1.9 - 2019-05 02, NOS 11.1.10 - 2019-06 01
    • Story Points:
      3

      Description

      The value of the parameter of type Properties of an operation containing a MVEL expression is lost when switching to the YAML editor.

      How to reproduce:

      • create a new automation chain
      • add a Document.Create operation with Type parameter set to File and Properties parameter set to
        @{Context.get("docMetaData")}
        
      • add a Document.Update operation with Properties parameter set to
        @{Context.get("docMetaData")}
        
      • click on the Switch editor button to switch to the YAML editor

      Expected result: Properties parameter of operation Document.Create and Document.Update contains

      @{Context.get(\"docMetaData\")}
      

      Actual result: Properties parameter of operation Document.Create and Document.Update contains

      {}
      

      Then switching back to the regular editor generates an error.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 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 - 2 days, 2 hours
                  2d 2h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.