[BUGFIX] Editing all records after deleting one throws exception 31/53031/9
authorOliver Hader <oliver@typo3.org>
Fri, 2 Jun 2017 11:55:40 +0000 (13:55 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 2 Jun 2017 13:28:01 +0000 (15:28 +0200)
commitd390a6c26f4adf686759ba42de8c9b6f5e87d33a
tree9c3583f57953c641d58ce2dd680abc6218241542
parentb6ae89c9e5ea4309ea34a5288c6980189a5cd2db
[BUGFIX] Editing all records after deleting one throws exception

If some record has been removed in the list module and after that
the "edit marked" button is clicked, an exception is thrown concerning
the just removed record.

The list of records to be edited is now determined from the visible
elements of the list.

Resolves: #75966
Releases: master, 8.7
Change-Id: I2c77dd2d92cda038a1009c318a2ee6650bd82963
Reviewed-on: https://review.typo3.org/53031
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/recordlist/Resources/Public/JavaScript/Recordlist.js