History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3091
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major 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);


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.