Feature #28137
Do not use clone in PersistentObject ParamConverter
Status: | Closed | Start date: | 2011-07-13 | |
---|---|---|---|---|
Priority: | Should have | Due date: | 2011-07-13 | |
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Persistence | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 beta 1 | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
Currently clone is used inside the PersistentObject ParamConverter and objects have to be merged back into persistence context (in case of doctrine) using $em->merge(). This creates unnecessary performance problems where the state of an object is first moved into a new object, then moved back into the persistent object.
This is a dependency of the previous transaction ticket, since cloning is currently necessary with transactions always being flushed to the database.
Related issues
History
#1 Updated by Karsten Dambekalns almost 4 years ago
- Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow
#2 Updated by Karsten Dambekalns almost 4 years ago
- Category set to Persistence
- Status changed from New to Closed
- Assigned To set to Karsten Dambekalns
- Target version set to 1.0 beta 1
- % Done changed from 0 to 100
Resolved by duplicate issue #29039.