[FEATURE] Extbase (Persistence): Comma separated lists are now fully supported to...
authorJochen Rau <j.rau@web.de>
Wed, 29 Jul 2009 21:40:45 +0000 (21:40 +0000)
committerJochen Rau <j.rau@web.de>
Wed, 29 Jul 2009 21:40:45 +0000 (21:40 +0000)
commite7f36e1ecb94eca71d84ae4493060a802d0112cb
treea11232b145ab68d094aecd37c48c325f2374382d
parentc56b44909a85c563dfa3f7457cc4d01e7a1566b4
[FEATURE] Extbase (Persistence): Comma separated lists are now fully supported to store relations - although this way is deprecated. Use foreign keys instead.
[BUGFIX] Extbase (Persistence): Related objects are now deleted if they were detached from the parent object (e.g. $blog->removePost($post)). Still pending: Strategy for recursive deletions.
[BUGFIX] Extbase (Persistence): Adding relation to an ownerless Record works now. Resolves #4011.
[-TASK] Extbase (Persistence): Removed $useStoragePid from the method signature of $queryFactory->create($className).
[!!!][~TASK] Extbase (Persistence): All Query Settings are now stored inside a QuerySettings object. It is created and injected by the Query Factory with the default setting. To change the settings, you have to say $query->getQuerySettings(); an manipulate them before executing the Query. The API functions are now called setRespectStoragePageState(TRUE) for PID checking, and setCheckVisibilityState(TRUE) for adding enable fields. The method names may change in future!
[TASK] Extbase (Persistence): Improved parsing of the PID query part.
[TASK] Extbase (MVC): An Object Manager is now injected into the Abstract Controller (better testability).
[!!!][BUGFIX] Extbase (Domain): Username and password was not set after passing it to the constructor. CAUTION: Auto-Populating the BlogExample will add Frontend Users to your installation. Don't use the BlogExample in productive environments! No username and password will be set.
[TASK] Extbase (Domain): Optional properties are now set to a default value.
[TASK] Extbase (DomainObject): Added an internal method _getCleanProperties().
[TASK] Extbase (Persistence): The Lazy Loading Proxy->_loadRealInstance() invokes now $dataMapper->fetchRelatedObjects(). Removed duplicated code.
[+FEATURE] Extbase (Persistence): Implemented support for MM_table_where.
[~CONFIGURATION] extbase: Changed from "plugin" to "fe" in ext_emconf.php.
[BUGFIX] Extbase (Tests): Fixed some Unit Tests.
36 files changed:
typo3/sysext/extbase/Classes/Configuration/Manager.php
typo3/sysext/extbase/Classes/Dispatcher.php
typo3/sysext/extbase/Classes/Domain/Model/FrontendUser.php
typo3/sysext/extbase/Classes/Domain/Model/FrontendUserGroup.php
typo3/sysext/extbase/Classes/DomainObject/AbstractEntity.php
typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php
typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php
typo3/sysext/extbase/Classes/MVC/Controller/Argument.php
typo3/sysext/extbase/Classes/Persistence/Backend.php
typo3/sysext/extbase/Classes/Persistence/LazyLoadingProxy.php
typo3/sysext/extbase/Classes/Persistence/Manager.php
typo3/sysext/extbase/Classes/Persistence/Mapper/ColumnMap.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMap.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php
typo3/sysext/extbase/Classes/Persistence/QOM/QueryObjectModel.php
typo3/sysext/extbase/Classes/Persistence/QOM/QueryObjectModelFactory.php
typo3/sysext/extbase/Classes/Persistence/QOM/QueryObjectModelFactoryInterface.php
typo3/sysext/extbase/Classes/Persistence/QOM/QueryObjectModelInterface.php
typo3/sysext/extbase/Classes/Persistence/QOM/Statement.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/QOM/StatementInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Query.php
typo3/sysext/extbase/Classes/Persistence/QueryFactory.php
typo3/sysext/extbase/Classes/Persistence/QueryFactoryInterface.php
typo3/sysext/extbase/Classes/Persistence/QuerySettingsInterface.php
typo3/sysext/extbase/Classes/Persistence/Repository.php
typo3/sysext/extbase/Classes/Persistence/Storage/QuerySettingsInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/Storage/Typo3QuerySettings.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Typo3QuerySettings.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Typo3QuerySettingsInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Configuration/Manager_testcase.php
typo3/sysext/extbase/Tests/Configuration/Source/TypoScriptSource_testcase.php
typo3/sysext/extbase/Tests/Persistence/Mapper/ObjectRelationalMapper_testcase.php [deleted file]
typo3/sysext/extbase/Tests/Persistence/Repository_testcase.php
typo3/sysext/extbase/ext_emconf.php
typo3/sysext/extbase/ext_typoscript_setup.txt