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,7 +2251,15 @@ public class ScriptNode implements Scopeable, NamespacePrefixResolverProvider
|
|||||||
public ScriptNode checkoutForUpload()
|
public ScriptNode checkoutForUpload()
|
||||||
{
|
{
|
||||||
AlfrescoTransactionSupport.bindResource("checkoutforupload", Boolean.TRUE.toString());
|
AlfrescoTransactionSupport.bindResource("checkoutforupload", Boolean.TRUE.toString());
|
||||||
return checkout();
|
services.getRuleService().disableRules();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
return checkout();
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
services.getRuleService().enableRules();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user