[DDC-2199] Yaml driver does not take into account field @Version attribute Created: 14/Dec/12 Updated: 16/Dec/12 Resolved: 16/Dec/12 |
|
| Status: | Resolved |
| Project: | Doctrine 2 - ORM |
| Component/s: | Mapping Drivers |
| Affects Version/s: | Git Master |
| Fix Version/s: | 2.3.2 |
| Security Level: | All |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Georgy Galakhov | Assignee: | Benjamin Eberlei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | mapping, yaml | ||
| Description |
|
Even if field has version: true attribute, Yaml driver does not set class metadata isVersioned and versionField properties. As a result optimistic lock cannot be used. |
| Comments |
| Comment by Benjamin Eberlei [ 16/Dec/12 ] |
|
Fixed |