[BUGFIX] TCA: Make ###CURRENT_PID### work in foreign_table_where in IRRE 34/50934/5
authorNicole Cordes <typo3@cordes.co>
Mon, 12 Dec 2016 16:53:10 +0000 (17:53 +0100)
committerNicole Cordes <typo3@cordes.co>
Sun, 26 Feb 2017 20:19:34 +0000 (21:19 +0100)
commit378647ecac33b591f4a4b4a3bd12ec2a647b8f14
tree8f161a956a1b51ab03c42cc20699193115e4e62b
parent317b6da4ab1c82e9b4d9b559006c375bb0d239b4
[BUGFIX] TCA: Make ###CURRENT_PID### work in foreign_table_where in IRRE

The patch adds the current database row to the data passed to the select
field rendered by foreign_selector of IRRE.
This data is necessary to properly resolve the ###CURRENT_PID### marker
in a foreign_table_where clause.

Resolves: #78960
Releases: master, 7.6
Change-Id: I17f6b4a78d20c101ef7caab227d23c87f138e8ce
Reviewed-on: https://review.typo3.org/50934
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Jasmina LieƟmann <code@frauliessmann.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php