Issue Bug Closed

#19411Selected items are not visible after saving the form in BE

Dmitry Dulepov 10/03/08, 19:05 updated 07/02/10, 11:19

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.