Roman Macor created ISPN-6794:
---------------------------------
Summary: Administration console - editing javascript task name doesn't
work correctly
Key: ISPN-6794
URL:
https://issues.jboss.org/browse/ISPN-6794
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Reporter: Roman Macor
Editing javascript task name, doesn't change the name of the script. If we try to edit
name the script can no longer be executed.
Console error message when trying to run edited script:
Error Some unexpected problem happened when launching the task: DGISPN0118: Failed to
invoke operation: java.lang.NullPointerException
Steps to reproduce:
upload javascript
- click on cache container -> Configuration -> Tasks -> Create new script
- fill in the mandatory parameter (e.g. Task name: newTask, Language: javascript,
Execution mode: local, script body: cache.put('key','value'))
- click create script task button
edit script
- click on cache container -> Configuration -> Tasks -> Edit
- change the name of the script
- click update script
Result:
name remains the same and script can no longer be executed
Note that other properties such as mode or script body can be edited in this way.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)