mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix to Upload webscript to require a transaction wrapper - this caused an issues where if multiple asynchronous requests to upload occured and the parent container was not yet created, then it was possible for a race condition to occur.
Fix to site finder JS to encode username string for a REST request. Fix to flash upload JS to use the Alfresco JSON parser wrapper to catch and display JSON exceptions. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
<webscript>
|
<webscript>
|
||||||
<shortname>File Upload Sample</shortname>
|
<shortname>File Upload</shortname>
|
||||||
<description>Upload file content and meta-data into Repository</description>
|
<description>Upload file content and meta-data into Repository</description>
|
||||||
<url>/api/upload</url>
|
<url>/api/upload</url>
|
||||||
<format default="json"/>
|
<format default="json"/>
|
||||||
<authentication>user</authentication>
|
<authentication>user</authentication>
|
||||||
|
<transaction>required</transaction>
|
||||||
</webscript>
|
</webscript>
|
Reference in New Issue
Block a user