Project

General

Profile

Actions

Bug #39527

closed

t3lib_transferdata::renderRecord_flexProc accepts $fieldname but does not pass it to t3lib_BEfunc::getFlexFormDS

Added by Claus Due almost 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-08-04
Due date:
% Done:

100%

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

Description

As topic says, the transferData method that processes a FlexForm field for a table already accepts $fieldName which contains the lowercase_underscored database field name that wants its FlexForm content processed. However, $fieldName is not passed along to t3lib_BEfunc::getFlexFormDS (most likely because the built-in processing never required $fieldName to be filled in order to just process the data) - but, after hooks have been added to FlexForm processing in t3lib_BEfunc::getFlexFormDS and these hooks also use $fieldName, we need to pass that $fieldName from transferData through to BEfunc when processing "flex" type fields.

Behavior before: hooks always called with empty fieldname regardless of which, or how many, fields for $table required processing. Multiple hook calls would occur and there would be no way to determine which call was related to which field.

Behavior after: $fieldName transferred as parameter to all hook calls; hook methods can now use that parameter.

Fix is made for 6.0 trunk should be backported as bugfix as far back as 4.5 LTS.

Actions #1

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/13450

Actions #2

Updated by Gerrit Code Review almost 12 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13469

Actions #3

Updated by Gerrit Code Review almost 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13450

Actions #4

Updated by Claus Witt almost 12 years ago

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

Updated by Gerrit Code Review almost 12 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/13470

Actions #6

Updated by Gerrit Code Review almost 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13472

Actions #7

Updated by Gerrit Code Review almost 12 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/13473

Actions #8

Updated by Claus Witt almost 12 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Gerrit Code Review almost 12 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/13682

Actions #10

Updated by Helmut Hummel almost 12 years ago

  • Status changed from Under Review to Closed
Actions #11

Updated by Gerrit Code Review over 11 years ago

  • Status changed from Closed to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/16022

Actions #12

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/16022

Actions #13

Updated by Gerrit Code Review over 11 years ago

Patch set 3 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/16022

Actions #14

Updated by Gerrit Code Review about 11 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20919

Actions #15

Updated by Gerrit Code Review about 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20919

Actions #16

Updated by Gerrit Code Review about 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20919

Actions #17

Updated by Gerrit Code Review about 11 years ago

Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/21070

Actions #18

Updated by Gerrit Code Review about 11 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/21071

Actions #19

Updated by Gerrit Code Review about 11 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/21072

Actions #20

Updated by Gerrit Code Review about 11 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/21074

Actions #21

Updated by Wouter Wolters about 11 years ago

  • Status changed from Under Review to Resolved
Actions #22

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF