Bug #43239

The "foreign_selector" function in IRRE fields creates only new records

Added by Kai Vogel about 9 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-11-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

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.

#1

Updated by Kai Vogel about 9 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

#2

Updated by Gerrit Code Review about 9 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

#3

Updated by Gerrit Code Review about 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/16690

#4

Updated by Gerrit Code Review about 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/16690

#5

Updated by Gerrit Code Review about 8 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

#6

Updated by Kai Vogel about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Markus Klein about 8 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

#8

Updated by Markus Klein about 8 years ago

  • Status changed from Accepted to Resolved
#9

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF