Task #6520
Differentiate between NULL and empty array/SplObjectStorage
Status: | Resolved | Start date: | 2010-06-18 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Persistence | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 10 | Estimated time: | 5.00 hours | |
Sprint: | Has patch: | |||
PHP Version: | Complexity: |
Description
When reconstituting objects we should only thaw array/SplObjectStorage if we had that when persisting and leave NULL in place otherwise.
Info: thawProperties() NULL check; signatures of mapArray(), mapSplObjectStorage(); collectProperties()
Related issues
Associated revisions
[~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.
[~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.
[~TASK] FLOW3 (Persistence): Adjusted PersistenceFramework object data format.txt to updated reality, relates to #6520.
History
#1 Updated by Karsten Dambekalns about 5 years ago
- Status changed from New to Accepted
- Start date changed from 2010-02-18 to 2010-06-18
- Estimated time set to 5.00
#2 Updated by Karsten Dambekalns about 5 years ago
- Target version set to 1.0 alpha 10
#3 Updated by Karsten Dambekalns about 5 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r4604.