[TYPO3-core] RFC: Bug #9227: Group field in Flexforms with a single table does not show selected items

Oliver Hader oliver at typo3.org
Thu Sep 4 19:48:28 CEST 2008


FYI: Committed to SVN:
* TYPO3_4-2 (rev. 4062)
* Trunk (rev. 4063)

olly


Oliver Hader schrieb:
> This is a SVN patch request.
> 
> Problem:
> A group/db field in Flexforms with a single allowed table does not show 
> selected items in TCEforms view. However, the data is stored in the 
> database.
> 
> On using regular TCA (no Flexforms) for a group/db field, we get 
> something like this for the selected items:
> | "pages_123|SomePage"
> 
> For the same field, but inside Flexforms, we get the following:
> | "123" (the normally prepended table name is missing here)
> 
> If there are two tables defined in the "allowed" property or all tables 
> are enabled by "*", everything is fine.
> 
> Solution:
> In t3lib_loadDBgroup the prepending table name is removed if there's 
> only one allowed table defined. This should stay as it is. The data of a 
> Flexform structure is not fetched by t3lib_transferData in 
> t3lib_TCEforms and thus the name of the table is missing.
> The solution here is to check in t3lib_TCEforms for that missing table 
> information and if only a single table is defined in the "allowed" 
> property, use that one.
> 
> Comments:
> See the bugtracker reference for a XML that allows one to reproduce this 
> with Flexforms.
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=9227
> 
> Branches: TYPO3_4-2, Trunk
> 
> 
> olly
-- 
Oliver Hader
TYPO3 4.3 Release Manager


More information about the TYPO3-team-core mailing list