[TYPO3-mvc] Tx_Extbase_MVC_Exception_InfiniteLoop

Claus Due claus at wildside.dk
Tue Jan 3 15:51:34 CET 2012


Hi Mark,

Hmm. Not entirely sure now. It may only have been necessary in Extbase 1.3 - I don't know if 1.4 has the same problem. I just remember having to set this to 0 on an earlier project exactly because of the 101 redirects and @dontvalidate issue. Extbase kept on validating regardless of @dontvalidate when the value was 1. But that was an Extbase 1.3 install...

Anyway if validation works now you're on track. You should be able to fix the checkbox/radio issue by using a manual inline f:if for checked status:

<f:form.checkbox checked="{f:if(condition: object.checkboxProperty, then: 'checked')}" />

Cheers,
Claus


> On 3/01/12 11:54 AM, Claus Due wrote:
>> Hi Mark,
>> 
>> You should set plugin.tx_travelprograms.features.rewrittenPropertyMapper = 0. Otherwise you cannot use the @dontvalidate and reload your newAction when errors occur (I assume this is a key behaviour you want to preserve). This should also prevent the "cannot map object" error. If it does not, check that you are using the proper object name in your form in your "new" form template.
>> 
>> Cheers,
>> Claus
> 
> Hi Claus,
> 
> Are you sure?
> 
> As soon as I set the property to 0 I do get the 101 Infinite loop....when I set it to 1 I do get the form and it I can use the validator....(but then there is another issue with returning values of checkboxes and radio buttons)...
> 
> I have the feeling that I have some reading up to do with all modifications to Extbase and Fluid after the book of Sebastian and Jochen came out....if I only knew where I could find this documentation :-)
> 
> Thanks, Mark
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list