mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2136: convert-mapping can't create YML from Annotation when Id column is a OneToOne relationship #2689
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 11, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user gergelypolonkai:
I have two entities
/****
/
class User {
/***
*/
private $id
}
/****
/
class UserData {
/***
*/
private $id
}
When I convert these with symfony's
doctrine:mapping:convert yml test/
it generates an entity definition for UserData without any id fields, which, of course, cannot be imported to the database, as the new entity doesn't have an identifier column.
@doctrinebot commented on GitHub (May 1, 2013):
Comment created by @beberlei:
Fixed in 2.4
@doctrinebot commented on GitHub (May 1, 2013):
Issue was closed with resolution "Fixed"