Project

General

Profile

Actions

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.

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.

Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

Updated by Kai Vogel almost 11 years ago

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

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

Actions #8

Updated by Markus Klein almost 11 years ago

  • Status changed from Accepted to Resolved
Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF