Cached parameters cleared on action function return.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7615 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mike Hatfield 2007-12-09 21:49:01 +00:00
parent 363de81b4b
commit d36b098c6e

View File

@ -151,6 +151,9 @@ public final class ScriptAction implements Serializable, Scopeable
} }
services.getActionService().executeAction(action, node.getNodeRef()); services.getActionService().executeAction(action, node.getNodeRef());
// Parameters may have been updated by action execution, so reset cache
this.parameters = null;
// Reset the actioned upon node // Reset the actioned upon node
node.reset(); node.reset();
} }
@ -178,6 +181,9 @@ public final class ScriptAction implements Serializable, Scopeable
} }
} }
services.getActionService().executeAction(action, nodeRef); services.getActionService().executeAction(action, nodeRef);
// Parameters may have been updated by action execution, so reset cache
this.parameters = null;
} }
/** /**