mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
126358 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2) 119623 jvonka: RA-663: Update REST fwk - fix BinaryResource update (currently masks entity PUT operation) - use "updateProperty" (instead of "update") to be consistent with other binary resource methods - note: REST fwk relies on unique method names across the resource actions git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -198,7 +198,7 @@ public class ResourceWebScriptPut extends AbstractResourceWebScript implements P
|
||||
throw new DeletedResourceException("(UPDATE) "+resource.getMetaData().getUniqueId());
|
||||
}
|
||||
BinaryResourceAction.Update binUpdater = (BinaryResourceAction.Update) resource.getResource();
|
||||
binUpdater.update(params.getEntityId(),params.getContentInfo(), params.getStream(), params);
|
||||
binUpdater.updateProperty(params.getEntityId(),params.getContentInfo(), params.getStream(), params);
|
||||
//Don't pass anything to the callback - its just successful
|
||||
return null;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user