Project

General

Profile

Actions

Bug #70522

closed

Story #69617: FormEngine bugs

processSelectFieldValue needs to happen before any processForeignTableClause is called

Added by Andreas Allacher about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-10-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Currently the order in the TCA array defines when processSelectFieldValue is called.
However, for relations that e.g. use MM tables and maybe others we have to ensure processSelectFieldValue has been called prior, otherwise the value only contains the count.

I think the best solution would be to create an own FormDataProvider that is called prior to TcaSelectItems


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45212: No localization of MM select fieldsClosed2013-02-06

Actions
Actions #1

Updated by Christian Kuhn about 9 years ago

  • Parent task set to #69617
Actions #2

Updated by Christian Kuhn about 9 years ago

  • Assignee deleted (Christian Kuhn)
Actions #3

Updated by Christian Kuhn about 9 years ago

  • Category changed from Backend API to FormEngine aka TCEforms
  • Target version set to 7 LTS
Actions #4

Updated by Christian Kuhn over 8 years ago

  • Status changed from New to Closed

hmmm, this is hard to solve.

i think there is a chicken-egg issue here: db value calculation needs the item list which includes foreign_table and other stuff. at the moment is see no way to hack TcaSelectItems provider into two parts.

Also, we currently have no hard issue in this area as far as i can see.

I'd suggest to close this issue for now until we have some hard scenarios that show where the current solution fails in an unsolvable way.

Actions #5

Updated by Christian Kuhn over 8 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF