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

Can't log currentUser in automation script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Automation

      Description

      In automation script:

      Console.log(currentUser);

      throws the error:

      java.lang.UnsupportedOperationException: Operation not supported.

      However I can do:

      Console.log(typeof(currentUser)) which outputs 'object'

      Console.log(currentUser.name) which outputs my user id e.g. Administrator

        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.