[BUGFIX] TCA: Make ###CURRENT_PID### work in foreign_table_where in IRRE 65/51865/2
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 23:01:14 +0000 (00:01 +0100)
commit0af1c883890373fe643e7b1e10f1003f0c467031
tree262fc8144c364a00a12ec48796931d41c979ae5f
parentdabee749b8b2b9da01df95b8f2cdbc69fb75e032
[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/51865
Tested-by: TYPO3com <no-reply@typo3.com>
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