<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfresco 3.2, AVM Webscripts and Transactions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-avm-webscripts-and-transactions/m-p/231098#M184228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're currently having an issue (alfresco 3.2 only) executing a webscript that does the following - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 1. Creates a folder in ROOT, in sitename–username:/www/avm_webapps/ROOT&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;…&lt;BR /&gt;parentContainer = containingFolder.createNode(args.name, "wcm:avmplainfolder");&lt;BR /&gt;…&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 2. Submitting the folder into staging. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;…&lt;BR /&gt;usersandboxes[0].submit(files, label, comment);&lt;BR /&gt;…&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In Alfresco 3.1, the webscript would create the folder, and submit it to the staging sandbox just fine.&amp;nbsp; But in Alfresco 3.2, the webscript creates the folder, then freezes indefinitely when it tries to submit the newly created folder to staging.&amp;nbsp; Then, the folder is no where to be found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After testing in 3.2, we've discovered that in 3.2 if you create the folder with webscript A, then submitted the folder into staging with webscript B, everything works just fine.&amp;nbsp; The folder gets created, then the submit to staging worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a few questions and theories.&amp;nbsp; Please comment and discuss on them, or share similar experiences.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) How come we can't create a folder, and submit it to staging with the same webscript in 3.2?&amp;nbsp; Does webscript execute asynchronously in 3.2?&amp;nbsp; Is it the way we're submitting the folder to staging?&amp;nbsp; Is there anything we can set in our webscript/overall configuration to allow this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Did the default transaction setting for webscript change for 3.2?&amp;nbsp; We were able to create the folder, do logger.log and print out the new folders properties, then, when it freezes at the submit, the folder is no where to be found.&amp;nbsp; Again, this was not the case in 3.1.&amp;nbsp; In 3.1, if our webscripts failed half way through after creating a folder, the folder would still be there after the webscript fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: Removed some redundancies&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2009 16:38:06 GMT</pubDate>
    <dc:creator>jack_jin</dc:creator>
    <dc:date>2009-07-15T16:38:06Z</dc:date>
    <item>
      <title>Alfresco 3.2, AVM Webscripts and Transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-avm-webscripts-and-transactions/m-p/231098#M184228</link>
      <description>Hello,We're currently having an issue (alfresco 3.2 only) executing a webscript that does the following - Step 1. Creates a folder in ROOT, in sitename–username:/www/avm_webapps/ROOT…parentContainer = containingFolder.createNode(args.name, "wcm:avmplainfolder");…‍‍‍Step 2. Submitting the folder into</description>
      <pubDate>Wed, 15 Jul 2009 16:38:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-avm-webscripts-and-transactions/m-p/231098#M184228</guid>
      <dc:creator>jack_jin</dc:creator>
      <dc:date>2009-07-15T16:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2, AVM Webscripts and Transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-avm-webscripts-and-transactions/m-p/231099#M184229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;^&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 20:35:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-avm-webscripts-and-transactions/m-p/231099#M184229</guid>
      <dc:creator>jack_jin</dc:creator>
      <dc:date>2009-07-29T20:35:06Z</dc:date>
    </item>
  </channel>
</rss>

