[root]/Tests/Unit/Persistence
Aspect
(0 files, 0 lines)
Backend
(0 files, 0 lines)
GenericPdo
(0 files, 0 lines)
Fixture
(0 files, 0 lines)
Model
(0 files, 0 lines)

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 37 (100.0%) | 1671 (100.0%) | 45.1 |
| k-fish | 31 (83.8%) | 1456 (87.1%) | 46.9 |
| robert | 6 (16.2%) | 215 (12.9%) | 35.8 |
Removed everything in trunk after move to git.
0 lines of code changed in 6 files:
[-TASK] FLOW3: Removed @version keyword from files, resolves #8835.
0 lines of code changed in 4 files:
[~TASK] FLOW3 (Persistence): Passing an empty array to mapToObject() now causes a proper exception to be thrown.
12 lines of code changed in 1 file:
[~TASK] FLOW3 (Persistence): Adjusted unit tests not included in last commit (If objects have been blocked by security query rewriting, ignore them in certain places); relates to #6604.
11 lines of code changed in 1 file:
[~TASK] FLOW3 (Persistence): When persisting NULL values are now recorded and collection (array, SplObjectStorage) properties are restored as NULL if they contained NULL, resolves #6520.
[~TASK] FLOW3 (Persistence): Equality comparison in a query now works correctly when comparing against NULL, relates to #8299.
[+API] FLOW3 (Persistence): Query::isEmpty() has been added and can check for empty collection properties, relates to #8299.
[~TASK] FLOW3 (Persistence): The like() constraint now can be used case-insensitive (like equals); constraints do stricter checks on property and operand types.
0 lines of code changed in 1 file:
[+FEATURE] FLOW3 (Persistence): Added some more tests for nested array support, basics work; resolves #7495, resolves #7496.
[-TASK] FLOW3 (Persistence) removed getCleanState() from AbstractBackend, it was useless since the dirty checking refactoring, relates to #7567.
[~TASK] FLOW3 (Persistence): Adjusted the code to take care of removed objects inside arrays and SplObjectStorages, fixes #7567.
92 lines of code changed in 2 files:
[+FEATURE] FLOW3 (Persistence): Implemented nested array support, basics work; relates to #7495, relates to #7496.
[~TASK] FLOW3 (Debugger): Now the var_dump has a lined background even if there is an exception trace shown at the same time.
13 lines of code changed in 1 file:
[+TASK] FLOW3 (Object): The Abstract Object Container now gives a hint / throws an InvalidArgumentException if object names or class names were specified with a leading backslash. Relates to #7198
[+BUGFIX] FLOW3 (Reflection): The Reflection Service now ignores leading backslashes in class names specified in annotations. Resolves #7198
[+BUGFIX] FLOW3 (Persistence): The Persistence Manager now retrieves repository objects by object name instead of class name. Resolves #7199
6 lines of code changed in 1 file:
[+FEATURE] FLOW3 (Persistence): Reimplemented lazy loading, resolves #6120. See updated manual for details.
[+FEATURE] FLOW3 (Persistence): Lazy loaded SplObjectStorage can now be counted without triggering activation, resolves #3337.
[~API] FLOW3 (Persistence): Moved the BackendInterface into the Backend namespace.
[-API] FLOW3 (Persistence): Removed the DataMapperInterface. Backends should follow the defined data structure.
[~TASK] FLOW3 (Persistence): Optimized clean data handling while dirty checking, reducing memory usage.
406 lines of code changed in 2 files:
[+FEATURE] FLOW3 (Persistence): The Repository class now has countAll() and countBy*() support, resolves #6685.
[~API] FLOW3 (Persistence): Renamed findByUUID() to findByUuid().
[+API] FLOW3 (Persistence): Added countAll() and countBy*() to RepositoryInterface, relates to #6685; added some more (existing) signatures to the interface as well.
21 lines of code changed in 1 file:
[+BUGFIX] FLOW3 (Persistence): Fixed a bug with persistence that hit when updated objects were to be persisted but seen through a property of another object first (order of persistObject calls). Fixes #6581, relates to #4931.
1 lines of code changed in 1 file:
[+FEATURE] FLOW3 (Object): Implemented a static object container which is automatically built. It's essentially a hardcoded version of the autowired and configured object dependencies - just a lot faster. Many tests are still missing, but the version in this commit should be mostly functional. Addresses #3740 and resolves #2123.
[!!!][~API] FLOW3 (Object): Heavily refactored the Object Manager and its tests. The most important change is the removal of the Object Factory whose create() method is now located in the Object Manager. Furthermore, the getObject() method has been renamed to get() and a few minor important API functions within the Object Manager have been modified. This commit also contains a script which allows for semi automatically migrating existing code to the new API (see ./flow3 migrate objectmanagerusage). Resolves #6562
[~TASK] FLOW3 (Configuration): The Configuration Manager and its YAML source now doesn't depend on the YAML package anymore but refers to a YAML parser class within the FLOW3 package. Resolves #6564.
22 lines of code changed in 2 files:
[~TASK] FLOW3 (Persistence): Completely rewrote dirty checking, achieves massive speedup; isNew() and isDirty() are no longer AOP'ed into objects but reside in the PersistenceManager now.
[+API] FLOW3 (Persistence): getObjectDataByQuery(), getObjectCountByQuery() now in PersistenceManagerInterface.
[~API] FLOW3 (Persistence): replaceObject() moved from BackendInterface to PersistenceManagerInterface.
[-API] FLOW3 (Persistence): removed getBackend() from PersistenceManager, no longer needed as API methods from backend moved to PersistenceManager.
[~TASK] FLOW3 (Persistence): Renamed DirtyMonitoringInterface to PersistenceMagicAspect.
430 lines of code changed in 3 files:
[~TASK] FLOW3 (Persistence): Cleaned up persistence backend structure, resolves #6124.
0 lines of code changed in 1 file:
[~TASK] FLOW3 (Documentation): Updated the Coding Guidelines: removed inconsistent exceptions from the general class naming rules. Also added the rule that names of aspect classes must end with "Aspect". Relates to #5658
[~TASK] Global: Renamed many classes and interfaces in order to be consistent with FLOW3's naming rules. A migration script to update third-party applications will follow soon. Resolves #5658
187 lines of code changed in 3 files:
[+FEATURE] FLOW3 (Persistence): Wrote a new persistence backend using a database directly instead of TYPO3CR. Details see below. Resolves #6006.
[+API] FLOW3 (Persistence): Added new backend classes that can be used for further backends.
[-API] FLOW3 (Persistence): Removed methods getIdentifierByObject(), getObjectByIdentifier() and isNewObject() from BackendInterface.
[+API] FLOW3 (Persistence): Removed methods getIdentifierByObject(), getObjectByIdentifier() and isNewObject() to ManagerInterface and Manager.
[-API] FLOW3 (Persistence): Removed withUUID() from QueryInterface, use getObjectByIdentifier() on Manager instead.
[+API] FLOW3 (Persistence): Added constants for query operators to QueryInterface.
470 lines of code changed in 7 files: