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:
Kevin Roast
2008-08-26 14:54:08 +00:00
parent 2dc4ddcef0
commit 23a7dfb82f

View File

@@ -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>