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

Automation scripting : Fix formatting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 28
    • Component/s: Automation
    • Tags:
    • Sprint:
      TGV 11

      Description

      Paste the following text in an automation script:

      function run(input, params) {
      Document.AddPermission(input,

      { /*required:true - type: string*/ 'permission': "", /*required:true - type: string*/ 'username': "", /*required:false - type: string*/ 'acl': "", /*required:false - type: date*/ 'begin': "", /*required:false - type: boolean*/ 'blockInheritance': "", /*required:false - type: string*/ 'comment': "", /*required:false - type: date*/ 'end': "", /*required:false - type: boolean*/ 'notify': false }

      );
      return input;
      }

      Press format all
      Formatting on line 20 is incorrect.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

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