[BUGFIX] Fix and deprecate legacy creation of objects in repository
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Fri, 16 Nov 2012 14:43:54 +0000 (15:43 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sat, 17 Nov 2012 13:14:16 +0000 (14:14 +0100)
commit1c950462d4efd8dec212eb8a1544e5fabb58ad3f
treecf988aae82cb4737e20cd313bedc66d554a3db3a
parent83f65d9f63f0a051299196e7114ae8b1ed571663
[BUGFIX] Fix and deprecate legacy creation of objects in repository

Since DI is used for instantiation of session and backend
objects, creating repository objects with makeInstance will fail. Add
legacy creation for this both objects to constructor and deprecate the
legacy creation

Fixes: #42968
Fixes: #42928
Releases: 6.0

Change-Id: Idc8aa7aadc2a4e43fdd938902dbd5f8c8098bf24
Reviewed-on: http://review.typo3.org/16484
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/extbase/Classes/Persistence/Repository.php