mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixed one of the failing tests for rules coverage:
- The test model didn't allow multiple values for the category property. - The setting of the category in the action puts a single value if one doesn't exist, or changes the value to a collection if a category already exists. This is true even if the category is exactly the same. I have **NOT** managed to fix the 'testInboundRuleType' because it would appear that the test action evaluation is being done with a NoConditionEvaluator. The test checks to see that the action is not executed for an empty content node. It might be a side-effect of the parent node update policy ... but I can't see why. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -142,6 +142,17 @@ public class ActionImpl extends ParameterizedItemImpl
|
||||
this.actionDefinitionName = actionDefinitionName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("Action")
|
||||
.append("[ id=").append(getId())
|
||||
.append(", node=").append(nodeRef)
|
||||
.append(" ]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.service.cmr.action.Action#getTitle()
|
||||
*/
|
||||
|
Reference in New Issue
Block a user