<?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 Spring Surf + Alfresco 3.2r: formdata not passed through in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/spring-surf-alfresco-3-2r-formdata-not-passed-through/m-p/213041#M166171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have been working on a project and started out with the SURF framework before it was part of Spring (or something) based on the energy sample, somwhere last year.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lately we picked this up again and changed to the Spring Surf build (Roo project and all) for Alfresco 3.2. Everything seemed ok, however, forms we have that used to post data to the alfresco repository don't do so anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Our endpoints are configured correctly in surf.xml as far as we know and there is connection being made, as other GET and POST (registration for example) methods do work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The specific forms have a form action in such a way: "${url.context}/proxy/&amp;lt;&amp;lt;endpoint id&amp;gt;&amp;gt;/&amp;lt;&amp;lt;webscript folder&amp;gt;&amp;gt;/&amp;lt;&amp;lt;webscript name&amp;gt;&amp;gt;" and are multipart/form-data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the form connects to a alfresco webscript which should collect the field values (for each (field in formdata.fields)), but the data isn't there. This used to work with the 'old' surf framework. The alfresco webscript is being processed as we get an error catch that comes from that webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Monitoring the POST process the field data is being sent, but after reaching the proxy it somehow loses this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additional info: this form has an upload field and has enctype multipart/form-data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 07:44:50 GMT</pubDate>
    <dc:creator>ruffie</dc:creator>
    <dc:date>2010-04-22T07:44:50Z</dc:date>
    <item>
      <title>Spring Surf + Alfresco 3.2r: formdata not passed through</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-surf-alfresco-3-2r-formdata-not-passed-through/m-p/213041#M166171</link>
      <description>We have been working on a project and started out with the SURF framework before it was part of Spring (or something) based on the energy sample, somwhere last year.Lately we picked this up again and changed to the Spring Surf build (Roo project and all) for Alfresco 3.2. Everything seemed ok, howev</description>
      <pubDate>Thu, 22 Apr 2010 07:44:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-surf-alfresco-3-2r-formdata-not-passed-through/m-p/213041#M166171</guid>
      <dc:creator>ruffie</dc:creator>
      <dc:date>2010-04-22T07:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Surf + Alfresco 3.2r: formdata not passed through</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-surf-alfresco-3-2r-formdata-not-passed-through/m-p/213042#M166172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On a similar discussion in the Spring Surf forums:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forum.springsource.org/showthread.php?t=88197" rel="nofollow noopener noreferrer"&gt;http://forum.springsource.org/showthread.php?t=88197&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the problem has just been diagnosed as a bug in the Spring Surf project and patched in rev. 407 of trunk.&amp;nbsp; Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Darryl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 16:42:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-surf-alfresco-3-2r-formdata-not-passed-through/m-p/213042#M166172</guid>
      <dc:creator>darryl_staflund</dc:creator>
      <dc:date>2010-05-19T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Surf + Alfresco 3.2r: formdata not passed through</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-surf-alfresco-3-2r-formdata-not-passed-through/m-p/213043#M166173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There was a problem with the configuration in the SpringSurf config for sample apps. A bean to handle multi-part form data was incorrectly being applied - which was attempting to read the request before the proxy had a chance to deal with it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="org.springframework.web.multipart.commons.CommonsMultipartResolver" id="multipartResolver"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="maxUploadSize" value="10000000"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/bean&amp;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;this bean has now been removed from the samples!! (Alfresco Share did not have that bean def in its config - which is why we never saw the problem there…) It is working fine in RC1/RC2 from my tests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 11:27:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-surf-alfresco-3-2r-formdata-not-passed-through/m-p/213043#M166173</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-11-08T11:27:13Z</dc:date>
    </item>
  </channel>
</rss>

