Project

General

Profile

Actions

Bug #19411

closed

Selected items are not visible after saving the form in BE

Added by Dmitry Dulepov about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-10-03
Due date:
% Done:

0%

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

Description

If form has a multichoice select field with itemsProcFunc but without items, selected values will not appear in the form after saving. The problem is in t3lib_transferData, which does not call itemsProcFunc if items are not set in $TCA. t3lib_TCEforms behaves correctly and always calls itemsProcFunc.

The attached patch fixes the issue and calls itemsProcFunc even if items are not set in $TCA. This makes t3lib_transferData compatible with t3lib_TCEforms.

Test extension is attached. It adds a new table named "Demo for bug #19409". Without the patch, selected values will not be visible after saving the record.

(issue imported from #M9479)


Files

9474.diff (542 KB) 9474.diff Administrator Admin, 2008-10-03 19:08
T3X_user_missingitems-0_0_0-z.t3x (10.3 KB) T3X_user_missingitems-0_0_0-z.t3x Administrator Admin, 2008-10-03 19:10

No data to display

Actions

Also available in: Atom PDF