Bug #39527

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

Added by Claus Due almost 9 years ago. Updated over 2 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.

#1

Updated by Gerrit Code Review almost 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/13450

#2

Updated by Gerrit Code Review almost 9 years ago

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

#3

Updated by Gerrit Code Review almost 9 years ago

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

#4

Updated by Claus Witt almost 9 years ago

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

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

#6

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

#7

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

#8

Updated by Claus Witt almost 9 years ago

  • Status changed from Under Review to Resolved
#9

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

#10

Updated by Helmut Hummel almost 9 years ago

  • Status changed from Under Review to Closed
#11

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

#12

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

#13

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

#14

Updated by Gerrit Code Review about 8 years ago

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

#15

Updated by Gerrit Code Review about 8 years ago

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

#16

Updated by Gerrit Code Review about 8 years ago

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

#17

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

#18

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

#19

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

#20

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

#21

Updated by Wouter Wolters about 8 years ago

  • Status changed from Under Review to Resolved
#22

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF