]
Vladimir Blagojevic updated ISPN-6465:
--------------------------------------
Status: Open (was: New)
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(a)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.