[TYPO3-core] RFC: Bug #7829: Required fields within flexform section elements cause Javascript errors

Oliver Hader oliver at typo3.org
Mon Mar 17 18:36:56 CET 2008


This is a SVN patch request.

Problem:
If a flexform uses section elements with required fields, a Javascript 
error is generated as soon as the form is loaded and that flexform 
cannot be saved.
In some situations this leads to a message that the back-end session has 
expired.

Solution:
Check whether the object to be checked exists and only continue if so.

Comments:
This isn't a real solution for required fields in flexforms. But this 
patch fixed the JavaScript errors and the session expiration thing. 
Required fields in flexforms is another topic with some more work.
Thanks to Steffen Kamper for the patch - I just made some small 
corrections to his version.

Bugtracker reference:
http://bugs.typo3.org/view.php?id=7829

Branch: Trunk


olly
-- 
Oliver Hader
TYPO3 Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007829_w.patch
Type: text/x-patch
Size: 1177 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080317/8849e574/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007829.patch
Type: text/x-patch
Size: 1552 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080317/8849e574/attachment-0001.bin 


More information about the TYPO3-team-core mailing list