[BUGFIX] Wrong sys_refindex for deleted child records 90/31590/3
authorOliver Hader <oliver@typo3.org>
Thu, 10 Jul 2014 16:53:03 +0000 (18:53 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 23 Jul 2014 11:51:34 +0000 (13:51 +0200)
commitf6299924ce5a857f0d278081ba3f46e1074cc700
tree6b9ba74a354fe695951844041be541e826f8d1f8
parentdec6a238f32c621b00e46a6a331bd0829cf09cc5
[BUGFIX] Wrong sys_refindex for deleted child records

Workspace actions using the DataHandler trigger a reprocessing
of the reference index. However, it happened that index entries
of the live workspace have been deleted or modified.

The reason for that is a missing SQL statement to limit those
actions to the current workspace only.

The result can be seen in e.g. the workspace module after
having deleted an IRRE child record and how the nesting could
not be determined correctly for that particular record.

Resolves: #59874
Releases: 6.2, 6.3
Change-Id: I850e2fe88999ce8db280d4ef426e43c85fff06da
Reviewed-on: https://review.typo3.org/31590
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Classes/Database/ReferenceIndex.php