[TYPO3-core] RFC: Bugfix #12688: MM relations: rollback not working / sys_history wrong

Ralf Hettinger ng at ralfhettinger.de
Tue Jan 12 18:57:16 CET 2010


Hi Steffen,

Am 12.01.2010 14:36 schrieb Steffen Kamper:
> it would help a lot if we have a test case for this. i see the
> importance of this issue.

It basically affects every MM relation, where the TCA configuration
would contain some 'MM' part.

Reproduction / Example I:
To reproduce the faulty history, just e.g. install tt_news, create a
tt_news record and assign some tt_news_cat categories. Save. Remember
the categories you've assigned and unset them. Save.
Now have a look into history of the tt_news record, maybe try a
rollback. History just won't show what you assigned/unset, nor will a
rollback restore what you've changed. Where tt_news is just an example
of course.

Reproduction / Example II:
To reproduce the other related issue which is solved here, you may want
to configure Page TSConfig as TCEMAIN.clearCacheCmd = all on your
tt_news storage folder. Now change a tt_news record by changing the
assigned categories only, but keep the amount of assigned categories
equal (e.g. delete two, add some other two at the same time). Save.
No cache will be cleared by doing so. Again: where tt_news is just an
example.

Best
Ralf


More information about the TYPO3-team-core mailing list