[BUGFIX] Fix broken table name mapping for namespaced extension models
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 8 Oct 2012 06:23:29 +0000 (08:23 +0200)
committerMarkus Günther <mail@markus-guenther.de>
Sat, 13 Oct 2012 14:06:07 +0000 (16:06 +0200)
commit4939242bfe892c00726053c7f4a6739e3d51a792
tree2936bc9b99ee69d25ede261678c08483e8a36ddf
parent1be7d45fdce32ad3c284b1fee3888960a273a3de
[BUGFIX] Fix broken table name mapping for namespaced extension models

With the introduction of namespaces came an additional
resolving mechanism for tablenames. The names for tables that belong
to an extension (not sysext) miss the last part of their name.

This patch applies the missing class name part to the algorithm.

Change-Id: Ie804fc5aa211b51d7f79716156ad07daaa634e36
Fixes: #41662
Releases: 6.0
Reviewed-on: http://review.typo3.org/15386
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Markus Günther
Tested-by: Markus Günther
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php
typo3/sysext/extbase/Tests/Unit/Persistence/Mapper/DataMapFactoryTest.php