Actions
Bug #76888
closedStory #69617: FormEngine bugs
###CURRENT_PID### in foreign_table_where of Flexforms always result in 0
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-06-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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.
Actions