[BUGFIX] _languageUid property not set on insert 95/41595/8
authorMarco Huber <mail@marco-huber.de>
Fri, 17 Jul 2015 19:07:54 +0000 (21:07 +0200)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 18 Sep 2015 18:34:03 +0000 (20:34 +0200)
commit86ac2558aa880d5e4995b3cd980d272e53d38034
treec0297df3a0eb30b342a0694389d7ea9313e06291
parentc09a25f4548b1fbf5229dafdb6899b55d7db8796
[BUGFIX] _languageUid property not set on insert

The patch ensures new objects are created with default language only.
Database field and object property are set properly to 0.

Furthermore the language uid is set only if not set before from outside.

Resolves: #65363
Resolves: #65364
Releases: master, 6.2
Change-Id: Ifc777e482ef12dba46938f826548a97758e531a1
Reviewed-on: http://review.typo3.org/41595
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php