<< Back to previous view |
![]() |
[QB-3091] node attribute not refreshed in grid overview when modified by code
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 7.0.29 |
Fix Version/s: | 8.0.0 |
Type: | Bug | Priority: | Major |
Reporter: | Gouss | Assigned To: | Robin Shen |
Resolution: | Fixed | Votes: | 4 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
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); |