mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
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:
parent
363de81b4b
commit
d36b098c6e
@ -151,6 +151,9 @@ public final class ScriptAction implements Serializable, Scopeable
|
||||
}
|
||||
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
|
||||
node.reset();
|
||||
}
|
||||
@ -178,6 +181,9 @@ public final class ScriptAction implements Serializable, Scopeable
|
||||
}
|
||||
}
|
||||
services.getActionService().executeAction(action, nodeRef);
|
||||
|
||||
// Parameters may have been updated by action execution, so reset cache
|
||||
this.parameters = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user