symfony/symfony — Issue #2434: yml annotations for doctrine do not work
Author: ramyD
Created: 2011-10-19 16:12:40+00:00
State: open

Using yml annotations for doctrine entities does not seem to work.

The problem was specifically noted when trying to assign NONE as a generator entity for a primary key.
The result would be that doctrine would ignore the primary key value causing duplicate entries in the database.

Trying the same code with xml annotations works.

yml fails with symfony 2.0.1 and 2.0.4
xml tested to be working on 2.0.4