[TYPO3-core] RFC: Bugfix #12688: MM relations: rollback not working / sys_history wrong
ng at ralfhettinger.de
Sat Dec 19 13:02:25 CET 2009
Fixing a bug, which was introduced by previous patch.
Am 20.11.2009 22:07 schrieb Ralf Hettinger:
> This is an SVN patch request.
> Type: Bugfix
> Bugtracker references:
> Branches: trunk
> If changing fields which reference MM relations, sys_history will log
> these changes by storing a different relation count instead of the
> different referenced records. A rollback will therefore restore the
> wrong relations (relation to a record with uid=old relation count will
> be restored) and the record's history shows wrong information.
> Furhtermore, if only the MM-relations change on updating a record but
> the relation count stays the same, nothing at all will be stored to
> sys_log / history, since the similarity check will result in no update
> Instead of logging the relation count, log the referenced uids to
> sys_history on MM fields, if they changed
> (http://bugs.typo3.org/view.php?id=12688 ). Always perform an update on
> records, if they contain MM-relations
> (http://bugs.typo3.org/view.php?id=5184 ).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the TYPO3-team-core