Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6796

Administration console - improve error messages when executing script

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • None

      When executing javascript which results in error, the error message displayed by Administration console is not very helpful:
      Error Some unexpected problem happened when launching the task: DGISPN0118: Failed to invoke operation: ISPN026003: Script execution error

      Executing the same script through hotrod client throws more descriptive exception:
      ReferenceError: "console" is not defined in <eval> at line number 4

      The script is:
      console.debug("test");

              vblagoje Vladimir Blagojevic (Inactive)
              rmacor Roman Macor (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: