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

Prevent dashes in automation script names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 23.1
    • Fix Version/s: 23.2
    • Component/s: Automation

      Description

      Automation scripts with a dash ("-") in the name won't run and will crash with the following error. It should not be possible to put a dash in their name.

      Caught error: javax.script.ScriptException: <eval>:1003:6 Expected ; but found -
      var as-picture-CopySmallToThumbnail = function(input,params) {
            ^ in <eval> at line number 1003 at column number 6
      Caused by: javax.script.ScriptException: <eval>:1003:6 Expected ; but found -
      var as-picture-CopySmallToThumbnail = function(input,params) {
            ^ in <eval> at line number 1003 at column number 6
      

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

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