Bug #43192
findByIdentifier() for non-persisted objects not working for custom identifier properties
Status: | Accepted | Start date: | 2012-11-21 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 0% |
|
Category: | Persistence | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | (any) |
Description
If an object does not get it's identifier via AOP, it will not be returned "early" from findByIdentifier()
.
Idea: add aspect on Id entities, tweak @registerNewObject()
to use know id property name
Related issues
History
#1 Updated by Karsten Dambekalns over 2 years ago
- Subject changed from findByIdentifier() for non-persisted objectsnot working for custom identifier properties to findByIdentifier() for non-persisted objects not working for custom identifier properties
- Target version changed from 2.0 to 2.1
#2 Updated by Robert Lemke about 2 years ago
- Target version deleted (
2.1)