Bug #43239
closedThe "foreign_selector" function in IRRE fields creates only new records
100%
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.
Updated by Kai Vogel almost 12 years ago
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
Updated by Gerrit Code Review almost 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16690
Updated by Gerrit Code Review almost 11 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/16690
Updated by Gerrit Code Review almost 11 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/16690
Updated by Gerrit Code Review almost 11 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26721
Updated by Kai Vogel almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 692bd22c0875fd37e876c79cb4a1738c67873c11.
Updated by Markus Klein almost 11 years ago
- Status changed from Resolved to Accepted
- Target version deleted (
6.0.0-RC2) - Is Regression set to No
The patch has been reverted in https://review.typo3.org/26726
Updated by Markus Klein almost 11 years ago
- Status changed from Accepted to Resolved
Applied in changeset b3a82c729cd0f604451dee2cb56a107cee8ec193.