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");

            [ISPN-6796] Administration console - improve error messages when executing script

            I have investigated this issue again and concluded the data about the details os the failure is not available in DMR response - other than what we already display. I am closing this issue on the administration console side as there is nothing we can do about it. We need to provide these errors in DMR layer for us to be able to display them in UI.

            Vladimir Blagojevic (Inactive) added a comment - I have investigated this issue again and concluded the data about the details os the failure is not available in DMR response - other than what we already display. I am closing this issue on the administration console side as there is nothing we can do about it. We need to provide these errors in DMR layer for us to be able to display them in UI.

            We should delegate this one rmacor NadirX as the fix has to come from server side in DMR. We (console) automatically parse the error and display whatever DMR response we get!

            Vladimir Blagojevic (Inactive) added a comment - We should delegate this one rmacor NadirX as the fix has to come from server side in DMR. We (console) automatically parse the error and display whatever DMR response we get!

            We don't have this information available. We can only access whatever DMR gives us. Closing it. If this is a requirement reopen another issue where this info is provided in DMR. If it is provided it will be automatically shown in error dialog

            Vladimir Blagojevic (Inactive) added a comment - We don't have this information available. We can only access whatever DMR gives us. Closing it. If this is a requirement reopen another issue where this info is provided in DMR. If it is provided it will be automatically shown in error dialog

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

                Created:
                Updated:
                Resolved:
                Archived: