Bug #43239
closed
The "foreign_selector" function in IRRE fields creates only new records
Added by Kai Vogel almost 12 years ago.
Updated about 6 years ago.
Category:
FormEngine aka TCEforms
Description
When using the "foreign_selector" feature in an IRRE field with a "select" field on the child side, it creates always a new record when selecting an existing in the select field.
Scenario:
Parent table configuration:
[...]['columns']['irreField']['config'] = array(
'type' => 'inline',
'foreign_table' => 'childTable',
'foreign_selector' => 'childSelector',
);
Child table configuration:
[...]['columns'][childSelector']['config'] = array(
'type' => 'select',
'foreign_table' => 'childTable',
);
What happens?
The parent IRRE field renders a dropdown field before the child records. Selecting one of the items in the dropdown should link this child record to current IRRE field, but it creates only a blank child record
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Accepted
- Target version deleted (
6.0.0-RC2)
- Is Regression set to No
- Status changed from Accepted to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF