[JBoss JIRA] (ISPN-6796) Administration console - improve error messages when executing script
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6796?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic resolved ISPN-6796.
---------------------------------------
Resolution: Won't Fix
> Administration console - improve error messages when executing script
> ---------------------------------------------------------------------
>
> Key: ISPN-6796
> URL: https://issues.jboss.org/browse/ISPN-6796
> Project: Infinispan
> Issue Type: Enhancement
> Components: JMX, reporting and management
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Priority: Minor
>
> 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");
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 5 months
[JBoss JIRA] (ISPN-6796) Administration console - improve error messages when executing script
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6796?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-6796:
-------------------------------------------
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.
> Administration console - improve error messages when executing script
> ---------------------------------------------------------------------
>
> Key: ISPN-6796
> URL: https://issues.jboss.org/browse/ISPN-6796
> Project: Infinispan
> Issue Type: Enhancement
> Components: JMX, reporting and management
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Priority: Minor
>
> 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");
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 5 months
[JBoss JIRA] (ISPN-7276) Console should automatically logout on Server mode change
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7276?page=com.atlassian.jira.plugin.... ]
Work on ISPN-7276 started by Vladimir Blagojevic.
-------------------------------------------------
> Console should automatically logout on Server mode change
> ---------------------------------------------------------
>
> Key: ISPN-7276
> URL: https://issues.jboss.org/browse/ISPN-7276
> Project: Infinispan
> Issue Type: Enhancement
> Components: Console
> Affects Versions: 9.0.0.Alpha4
> Reporter: Ryan Emerson
> Assignee: Vladimir Blagojevic
>
> Currently if a user does not logout of the console and then restarts the server(s) in a different mode, i.e. previously it was in domain and now standalone, when the user returns to the console nothing happens on page refresh. At present this means that the user must navigate to /logout or make sure the browser session has been cleared in order to login and use the console again.
> We should handle this situation more gracefully:
> Ideally the console should adapt to the new server mode upon page refresh (or even after x amount of time) and inform the user that the console has refreshed. In some cases this would involve transitioning to a new page if the current page does not exist in the new server mode.
> At the very least, the console should automatically logout the user upon detecting that the server mode has changed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 5 months