[infinispan-issues] [JBoss JIRA] (ISPN-6794) Administration console - editing javascript task name doesn't work correctly

Vladimir Blagojevic (JIRA) issues at jboss.org
Mon Nov 14 05:25:00 EST 2016


    [ https://issues.jboss.org/browse/ISPN-6794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13321621#comment-13321621 ] 

Vladimir Blagojevic commented on ISPN-6794:
-------------------------------------------

[~rmacor] I checked latest master and we already disable editing task name. Consider closing.

> 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
>            Assignee: Vladimir Blagojevic
>            Priority: Minor
>
> 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
(v7.2.3#72005)


More information about the infinispan-issues mailing list