[TYPO3-dev] Validating security token fails when editing record with >1000 related inline elements

Krystian Szymukowicz k.szymukowicz at gmail.com
Fri Apr 11 00:06:22 CEST 2014


W dniu 2014-04-11 00:04, Krystian Szymukowicz pisze:
> W dniu 2014-04-10 22:28, Steffen Müller pisze:
>> Hi.
>>
>> I run into security token error in the TYPO3 BE when editing a record
>> with >1000 inline elements.
>>
>> The message is: "Validating the security token of this form has failed.
>> Please reload the form and submit it again."
>>
>> My extension has a model "book" with a 1:n relation to model
>> "accesscode".
>>
>> The TCA column "codes" in the TCA of book is:
>>
>> $TCA['tx_foo_domain_model_book']['columns']['accesscodes'] => array(
>>     'exclude' => 0,
>>     'label' => 'accesscodes',
>>     'config' => array(
>>         'type' => 'inline',
>>         'foreign_table' => 'tx_foo_domain_model_accesscode',
>>         'foreign_field' => 'book',
>>         'maxitems'      => 9999,
>>         'appearance' => array(
>>             'collapseAll' => 1,
>>             'expandSingle' => 1,
>>             'levelLinksPosition' => 'top',
>>             'newRecordLinkAddTitle' => 1,
>>             'showSynchronizationLink' => 0,
>>             'showPossibleLocalizationRecords' => 1,
>>             'showAllLocalizationLink' => 1,
>>             'enabledControls' => array(
>>                 'info' => FALSE,
>>                 'new' => TRUE,
>>             ),
>>         ),
>>     ),
>> ),
>>
>> The site runs on TYPO3 6.1.
>>
>> The issue is only reproduceable, if I have more than approx. 800-1000
>> related accesscodes in a book, then the security token error occurs.
>>
>> Is there a known limitation for relations of this type?
>>
>>
>
> Did you try to check if POST can handle that amount of data?
> I had once something similar with lot of inline records. Suoshin was
> cropping of part of POST data.
>

For example:

http://stackoverflow.com/questions/9399315/how-to-increase-maximum-post-variable-in-php

and all the surrounding settings.





More information about the TYPO3-dev mailing list