[PHPCR-35] referenced documents need to be referenceable Created: 15/Nov/11 Updated: 28/Dec/11 Resolved: 28/Dec/11 |
|
| Status: | Resolved |
| Project: | Doctrine PHPCR |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | David Buchmann | Assignee: | Jordi Boggiano |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
currently documents referenced need to have referenceable=true in their document annotation, otherwise the @ReferenceOne silently fails. (see also https://github.com/symfony-cmf/cmf-sandbox/pull/29 ) either phpcr-odm should complain. or it could just add the mix:referenceable to the target document even though it was not declared referenceable. |
| Comments |
| Comment by Uwe Jäger [ 15/Nov/11 ] |
|
I will cover the first part for now, let phpcr -odm complain ... |
| Comment by Uwe Jäger [ 15/Nov/11 ] |
|
This fixed now, but I can't close that issue ... |