[TYPO3-project-formidable] New SVN revision 160
Rene Nitzsche
rene at system25.de
Tue Jan 8 18:09:09 CET 2008
I have an additional comment. Maybe the bug is located somewhere else. I
use my edit form with a forced UID (no lister or something else):
myForm->init($this, 'myform.xml', $uid2edit);
At line 635 of class maindatahandler::getRdtValue() is the following code:
elseif($this->_isSubmitted()) {
$this->oForm->devlog("_isSubmitted()", 1);
if($this->oForm->iForcedEntryId !== FALSE) {
return $this->getRdtValue_noSubmit_edit($sName);
}
iForcedEntryId is filled with the given UID at runtime and so
"getRdtValue_noSubmit_edit" is called.
The method name "..._noSubmit_edit" indicates that submitted data should
be ignored. But this is definitely wrong in this case.
Maybe Jerome can have a look at this.
Regards,
René
Rene Nitzsche schrieb:
> Hi Manuel,
>
> I encountered the same behavior with revision 160. In my opinion the
> reason is in method getRdtValue_noSubmit_edit() of class maindatahandler
> around line 765.
>
> Around this line the stored and the posted data will be merged. But for
> some reason I don't know (the bug??) only data transfered by GET is
> taken. Changing
>
> $this->_G()
>
> to
>
> $this->_GP()
>
> makes the forms working again. At least this worked for me. :)
>
> Regards,
> René
>
>
> Manuel Rego Casasnovas schrieb:
>> Hello,
>>
>> Manuel Rego Casasnovas escribió:
>>> Jerome Schneider escribió:
>>>
>>>> Hi Manuel,
>>>>
>>>> I tested your example and was not able to reproduce the bug.
>>>> I think I unadvertedly corrected this since last time.
>>>> Could you confirm / infirm ?
>>>>
>> Are you using the last SVN revision or a working copy?
>> Maybe there are any change which makes that it doesn't work.
>>
>> If you have any free time answer this e-mail, please. Because with the
>> current revision I can't use any form.
>>
>> Thank you very much,
>> Rego
>>
More information about the TYPO3-project-formidable
mailing list