[infinispan-issues] [JBoss JIRA] (ISPN-6465) Managent console - launching task with no parameters creates one empty parameter

Jiří Holuša (JIRA) issues at jboss.org
Tue Apr 5 11:24:00 EDT 2016


Jiří Holuša created ISPN-6465:
---------------------------------

             Summary: Managent console - launching task with no parameters creates one empty parameter
                 Key: ISPN-6465
                 URL: https://issues.jboss.org/browse/ISPN-6465
             Project: Infinispan
          Issue Type: Bug
          Components: Console
            Reporter: Jiří Holuša
            Assignee: Vladimir Blagojevic


Page: Caches -> select cache container -> select Tasks execution tab

When launching new task, you can specify parameters, which works correctly, if you do. However, if you specify no parameters, you would then expect in your task when calling TaskContext.getParameters() to be null (or at least empty). Currently when you specify no parameters, the getParameters() returns Map with one entry, both empty key and value.

This issue was not present in previous releases, when if no parameter specified, the getParameters returned null. I went through the history and tracked down the commit which causes it:
{code}
commit 6a4d156a9678bcde18d8365ee75fbcea31373949
Author: vblagoje <vblagoje at redhat.com>
Date:   Wed Mar 16 14:57:02 2016 -0400
Simplify task handling
{code}

However, finding the actual cause is below my AngularJS knowledge.





--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the infinispan-issues mailing list