Bug #3819
Objects in SplObjectStorage are stored over and over again
Status: | Resolved | Start date: | 2009-07-02 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | FLOW3 Persistence | |||
Target version: | - |
Description
When an object inside an SplObjectStorage is stored (at least when using a reference), it will be stored again whenever the source property is dirty.
This doesn't cause problems on reading, as the object will be reconstituted only once and SplObjectStorage stores only distinct instances, but - it's a waste of space, exremely unclean and needs to be fixed.
Might apply to objects in arrays, too.
Associated revisions
[+BUGFIX] TYPO3CR (FLOW3 Persistence): objects in a SplObjectStorage are now no longer stored again when their parent property is dirty, fixes #3819.
History
#1 Updated by Karsten Dambekalns almost 6 years ago
- File TYPO3CR_Problem_bei_BlogExample.pdf added
Another effect of this has been described by Robert, see attached PDF (german, sorry).
#2 Updated by Karsten Dambekalns almost 6 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r3086.
#3 Updated by Robert Lemke about 4 years ago
- Target version deleted (
197)