<?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 Re: Read-Write transaction started within read-only transaction in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4256#M1831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not add the ticket to the URL if the web script does not require authentication. If you provide it, Alfresco will preemptively validate it. The definition on the web script only states that it does not require an authentication, but if an authentication is presented it will still use it - as long as it is valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2017 11:29:45 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-02-01T11:29:45Z</dc:date>
    <item>
      <title>Read-Write transaction started within read-only transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4253#M1828</link>
      <description>Hi all,I'm new to this forum, I hope to find help for my issue...I'm developing an REPO amp with alfresco 5.1.2 and sdk 2.2.0During a transation I obtain this stacktrace:2017-01-27 14:27:28,282&amp;nbsp; ERROR [management.subsystems.AbstractPropertyBackedBean] [main] Error auto-starting subsystem&amp;nbsp;org.springf</description>
      <pubDate>Fri, 27 Jan 2017 13:42:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4253#M1828</guid>
      <dc:creator>titto</dc:creator>
      <dc:date>2017-01-27T13:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Read-Write transaction started within read-only transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4254#M1829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not need to use the retryingTransactionHelper when you are using the unit test framework to call a web script. By doing so you are creating a read-only transaction and the web script then tries to create a nested write-transaction, which is not supported unless it is forced. You test should behave like any remote client and not try to deal with transaction handling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 20:29:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4254#M1829</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-01-30T20:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Read-Write transaction started within read-only transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4255#M1830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I move this code outside the transaction and I obtain this error:&lt;/P&gt;&lt;P&gt;org.alfresco.repo.security.authentication.AuthenticationException: 00310039 Unable to validate ticket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the webscript dont require authentication! what's happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here the code of the webscript:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;shortname&amp;gt;Save content from amadeus from textul and multimedia&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;description&amp;gt;Save content from amadeus from textul and multimedia&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;url&amp;gt;/acm/amadeusform-save&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;format default="json"&amp;gt;argument&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;transaction allow="readwrite" buffersize="0"&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also add "ticket=......" to my URI but cannot validate the ticket&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 10:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4255#M1830</guid>
      <dc:creator>titto</dc:creator>
      <dc:date>2017-01-31T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Read-Write transaction started within read-only transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4256#M1831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not add the ticket to the URL if the web script does not require authentication. If you provide it, Alfresco will preemptively validate it. The definition on the web script only states that it does not require an authentication, but if an authentication is presented it will still use it - as long as it is valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 11:29:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/read-write-transaction-started-within-read-only-transaction/m-p/4256#M1831</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-02-01T11:29:45Z</dc:date>
    </item>
  </channel>
</rss>

