[!!!][TASK] Remove forced STI settings from extbase configuration
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 9 Feb 2013 18:19:13 +0000 (19:19 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 9 Feb 2013 21:22:07 +0000 (22:22 +0100)
The tx_extbase_type setting for fe_users and fe_groups was introduced
as a demonstration of Single Table Inheritance handled in extbase.
The forced setting brings more problems then doing good in real live
scenarios though.

So the typoscript is dropped, but TCA and sql kept for backwards
compatibility reasons.

Before 6.1 only fe_users with tx_extbase_type
Tx_Extbase_Domain_Model_FrontendUser and
fe_groups with Tx_Extbase_Domain_Model_FrontendUserGroup
are returned. Since 6.1 all fe_users and fe_groups are
returned if you don't set the TypoScript setting on your own.

Resolves: #11021
Releases: 6.1
Change-Id: I8c1fbc48d4ee5ea1202ac6d7837170ff74eba442
Reviewed-on: https://review.typo3.org/17879
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/ext_typoscript_setup.txt

index 1044586..c615439 100644 (file)
@@ -84,7 +84,6 @@ config.tx_extbase {
                        TYPO3\CMS\Extbase\Domain\Model\FrontendUser {
                                mapping {
                                        tableName = fe_users
                        TYPO3\CMS\Extbase\Domain\Model\FrontendUser {
                                mapping {
                                        tableName = fe_users
-                                       recordType = TYPO3\CMS\Extbase\Domain\Model\FrontendUser
                                        columns {
                                                lockToDomain.mapOnProperty = lockToDomain
                                        }
                                        columns {
                                                lockToDomain.mapOnProperty = lockToDomain
                                        }
@@ -93,7 +92,6 @@ config.tx_extbase {
                        TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup {
                                mapping {
                                        tableName = fe_groups
                        TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup {
                                mapping {
                                        tableName = fe_groups
-                                       recordType = TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup
                                        columns {
                                                lockToDomain.mapOnProperty = lockToDomain
                                        }
                                        columns {
                                                lockToDomain.mapOnProperty = lockToDomain
                                        }