[BUGFIX] Editing all records after deleting one throws exception 41/53041/2
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:47:45 +0000 (15:47 +0200)
commit61a7ff92aa7a9c00af04aaf9631145038411dfc5
tree068e752a769568e6b299e8c0f5f29be8ec47c6f3
parent630f174e9d140801ad8d22f545bf1620193072d8
[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/53041
Tested-by: TYPO3com <no-reply@typo3.com>
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