[BUGFIX] Properly detect record link dialog tab 69/54369/4
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 08:56:31 +0000 (10:56 +0200)
commit3136ffd936fa57837e5337fa8afad5f1bd0133dd
treefaf5b37e035427a42cacac2e99aafd484cff8445
parent906684cbe3acbb4a0f3c892a77be56be2d97d4b3
[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/54369
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php