cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED]Transaction ... active and synchronization required?

targa2000
Champ in-the-making
Champ in-the-making
àdded a webscript to Data Dictionary/Web Scripts Extension.  When call url, get org.alfresco.web.scripts.WebScriptException: 0115011 Wrapped Exception  (with status template): 01150010 Transaction must be active and synchrozition is required.

What does this error mean? How can I fix it?
2 REPLIES 2

targa2000
Champ in-the-making
Champ in-the-making
<transaction>required</transaction>

add to desc.xml

cleuton
Champ in-the-making
Champ in-the-making
Not only this. You have to add an <authentication>user</authentication> tag. Here is my own desc for a sample web script:

<webscript>
<shortname>Hello World</shortname>
<description>Hello world web script</description>
<url>/helloworld?name={nameArgument}</url>
<transaction>required</transaction>
<authentication>user</authentication>
</webscript>