Bug #76888
closedStory #69617: FormEngine bugs
###CURRENT_PID### in foreign_table_where of Flexforms always result in 0
100%
Description
Given a content element with a flexform field having the following configuration:
<TCEforms> <label>Cars</label> <config> <type>select</type> <renderType>selectMultipleSideBySide</renderType> <foreign_table>tx_vehicles_domain_model_car</foreign_table> <foreign_table_where>AND pages.uid=###CURRENT_PID###</foreign_table_where> <size>12</size> </config> </TCEforms>
And 3 records
tx_vehicles_domain_model_car
have been added to current pageWhen editing the content element
And the form field from flexform is rendered
Then no records are shown at all
But I expect 3 records to be shown in the form field
When I debug the SQL query, I always get pages.uid=0
Using TYPO3 7.6.9.
The same config worked with 6.2.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48749
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48749
Updated by Gerrit Code Review almost 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48749
Updated by Gerrit Code Review almost 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48830
Updated by Steffen Müller almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 97a6103a9d2e139baffc586aea55da36be1ce611.