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

Oliver Hader oh at inpublica.de
Wed Nov 7 08:23:10 CET 2007


Committed to SVN
* TYPO3_4-1 (rev. 2669)
* Trunk (rev. 2670)

olly


Oliver Hader schrieb:
> 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
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-team-core mailing list