[TYPO3-core] RFC: Bug #5772: IRRE - Combination mode doesn't save new child records correctly

Oliver Hader oh at inpublica.de
Tue Oct 30 15:33:03 CET 2007


This is a SVN patch request.

Problem:
The IRRE combination mode allows to create and edit children over more
levels (parent->child as record in intermediate table->related record).
On creating new records the TYPO3 error message "Attempt to modify
record (tablename: 0) without permission. Or non-existing page." appears.

Solution:
These two changes are necessary:
1) The 'useCombination' property in the appearances wasn't evaluated
correctly due to a type conflict (integer vs. boolean)
2) The pointer of the selector on the intermediate table was set to '0'
for new records but there was only a check against 'NEW...' ids and not
against a positive integers standing for a correctly saved child record

Comments:
Since this issue is related to IRRE only, I'm going to commit in one
week if nobody objects. Thanks to Franz Holzinger for pointing out this
bug and giving me access to his development system.

Bugtracker references:
http://bugs.typo3.org/view.php?id=5772

Branches: TYPO3_4-1 & Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005772.patch
Type: text/x-patch
Size: 2147 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071030/0a197218/attachment.bin 


More information about the TYPO3-team-core mailing list