mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-11108: Notification when item is updated, even though 'when' states 'items are created or enter this folder'
* rules not fired on checked out node during version update git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31842 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2251,8 +2251,16 @@ public class ScriptNode implements Scopeable, NamespacePrefixResolverProvider
|
||||
public ScriptNode checkoutForUpload()
|
||||
{
|
||||
AlfrescoTransactionSupport.bindResource("checkoutforupload", Boolean.TRUE.toString());
|
||||
services.getRuleService().disableRules();
|
||||
try
|
||||
{
|
||||
return checkout();
|
||||
}
|
||||
finally
|
||||
{
|
||||
services.getRuleService().enableRules();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a check-out of this document into the specified destination space.
|
||||
|
Reference in New Issue
Block a user