History
|
Log In
H
OME
B
ROWSE PROJECT
F
IND ISSUES
Q
UICK SEARCH:
Learn more about
Quick Search
Issue Details
(
XML
|
Word
|
Printable
)
Key:
QB-3091
Type:
Bug
Status:
Closed
Resolution:
Fixed
Priority:
Major
Assignee:
Robin Shen
Reporter:
Gouss
Votes:
4
Watchers:
0
Operations
If you were
logged in
you would be able to see more operations.
QuickBuild
node attribute not refreshed in grid overview when modified by code
Created:
06/Dec/17 04:18 PM
Updated:
24/Feb/18 03:22 AM
Component/s:
None
Affects Version/s:
7.0.29
Fix Version/s:
8.0.0
Original Estimate:
Unknown
Remaining Estimate:
Unknown
Time Spent:
Unknown
Description
« Hide
1- check node attribute
2- execute here after code
3- check the node attribute again
RESULT: attribute values are not up to date.
code:
groovy:
import java.util.Map;
import com.pmease.quickbuild.Context;
import com.pmease.quickbuild.Quickbuild;
import com.pmease.quickbuild.grid.GridNode;
Map<String, String> userAttributes = node.getUserAttributes();
userAttributes.put("paf", "puf");
for (String key: userAttributes.keySet())
Context.getLogger().info(key);
node.setUserAttributes(userAttributes, true);
Description
1- check node attribute 2- execute here after code 3- check the node attribute again RESULT: attribute values are not up to date. code: groovy: import java.util.Map; import com.pmease.quickbuild.Context; import com.pmease.quickbuild.Quickbuild; import com.pmease.quickbuild.grid.GridNode; Map<String, String> userAttributes = node.getUserAttributes(); userAttributes.put("paf", "puf"); for (String key: userAttributes.keySet()) Context.getLogger().info(key); node.setUserAttributes(userAttributes, true);
Show »
All
Comments
Work Log
Change History
Sort Order:
Change by
Robin Shen
[
24/Feb/18 03:22 AM
]
Field
Original Value
New Value
Status
Open
[ 1 ]
Closed
[ 6 ]
Fix Version/s
8.0.0
[ 11791 ]
Resolution
Fixed
[ 1 ]