[BUGFIX] Typo3DbBackend language handling crashes in BE
authorNicole Cordes <n.cordes@biz-design.biz>
Fri, 19 Oct 2012 22:01:59 +0000 (00:01 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 4 Nov 2012 13:00:11 +0000 (14:00 +0100)
commit00d1cf8a3cccfe6f618f7fcbea09770ee2050984
tree856768720d48607d3754037414888d10af172b38
parentfa08e8c000dff3beddb8509e57cc3fd7ca271930
[BUGFIX] Typo3DbBackend language handling crashes in BE

Within a past commit the language handling was completly rewritten to
support language uids other than 0. This was done for frontend only so we
have to add a backend handling as well.

The language uid is now taken from the L parameter (either POST or GET)
for backend modules. If anything was submitted a fallback to 0 is
integrated.

Change-Id: I683e4bb44fa86c2b40c6126d8360858a2319bebe
Fixes: #40796
Releases: 6.0
Reviewed-on: http://review.typo3.org/15826
Reviewed-by: Georg Ringer
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/extbase/Classes/Persistence/Generic/QuerySettingsInterface.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/Generic/Typo3QuerySettings.php
typo3/sysext/extbase/Tests/Unit/Persistence/Storage/Typo3DbBackendTest.php