[BUGFIX] Properly detect record link dialog tab 74/54374/2
authorStanislas Rolland <typo3@sjbr.ca>
Wed, 11 Oct 2017 19:00:03 +0000 (15:00 -0400)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 12 Oct 2017 09:15:12 +0000 (11:15 +0200)
commit91923b8aa3d56f580fbdb6c0c1d215eeaf1b19bf
treee959bbec9a0faecc5175ae845cdbfe6dcd9222ea
parent3d859316b16e7f500de8b25945a1b61757fd3824
[BUGFIX] Properly detect record link dialog tab

RecordLinkHandler->canHandleLink should check record identifier,
otherwise the element browser may open the wrong tab when multiple
record identifiers are configured.

Resolves: #82737
Releases: master, 8.7
Change-Id: Ie12c6d7484bdb51577dfe02a653e80fe1d7b63ea
Reviewed-on: https://review.typo3.org/54374
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php