mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
WebDAV: metadata extraction is now synchronous.
* For versionable nodes asynchronous extraction will cause a new version of the document to be created. * The metadata should be populated in the same transaction as the upload - asynchronous rules should be configured separately. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@35118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -234,7 +234,7 @@ public class PutMethod extends WebDAVMethod implements ActivityPostProducer
|
|||||||
Action extract = getActionService().createAction(ContentMetadataExtracter.EXECUTOR_NAME);
|
Action extract = getActionService().createAction(ContentMetadataExtracter.EXECUTOR_NAME);
|
||||||
if(extract != null)
|
if(extract != null)
|
||||||
{
|
{
|
||||||
extract.setExecuteAsynchronously(true);
|
extract.setExecuteAsynchronously(false);
|
||||||
getActionService().executeAction(extract, contentNodeInfo.getNodeRef());
|
getActionService().executeAction(extract, contentNodeInfo.getNodeRef());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user