[TASK] Doctrine: Migrate Extbase DB backend Part 2 36/49436/8
authorBenni Mack <benni@typo3.org>
Wed, 10 Aug 2016 04:56:28 +0000 (06:56 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Sun, 14 Aug 2016 09:44:12 +0000 (11:44 +0200)
commitc6803fabb82a48231c0f4faff83b7655c7fae45c
treee729a59ab64cba582bad9f3b731a46149648e02e
parent4b27d3e7dc140bd19dae0c5f99a650ca1fd144d9
[TASK] Doctrine: Migrate Extbase DB backend Part 2

The method getUidOfAlreadyPersistedValueObject() is migrated
to doctrine.

During the change, it was noticable that the calls to the deprecated
protected methods addVisibilityConstraintStatement(),
getBackendConstraintStatement() and getFrontendConstraintStatement()
are not needed at all, and are removed, as the RestrictionBuilder
is taking care of that functionality transparently.

Resolves: #77476
Releases: master
Change-Id: Ib89abd6e5155f5caeb9d06b452aba77ac39444b1
Reviewed-on: https://review.typo3.org/49436
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbBackendTest.php