DDC-2809: [GH-853] Fix for PHP entity default values generated by EntityGenerator #3513

Closed
opened 2026-01-22 14:21:20 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 21, 2013).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of patrickkostjens:

Url: https://github.com/doctrine/doctrine2/pull/853

Message:

When specifying a default value for a column in the YAML, this value should be set in the entities that are generated by the EntityGenerator. The EntityGenerator looked for the default value in the wrong place of the field mapping and therefore defaults were never set. This issue has been fixed in this branch.

Originally created by @doctrinebot on GitHub (Nov 21, 2013). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of patrickkostjens: Url: https://github.com/doctrine/doctrine2/pull/853 Message: When specifying a default value for a column in the YAML, this value should be set in the entities that are generated by the EntityGenerator. The EntityGenerator looked for the default value in the wrong place of the field mapping and therefore defaults were never set. This issue has been fixed in this branch.
admin added the Bug label 2026-01-22 14:21:20 +01:00
admin closed this issue 2026-01-22 14:21:21 +01:00
Author
Owner

@doctrinebot commented on GitHub (Nov 21, 2013):

@doctrinebot commented on GitHub (Nov 21, 2013): - relates to [DDC-3608: [GH-1327] Properly generate default value from yml & xml mapping](http://www.doctrine-project.org/jira/browse/DDC-3608)
Author
Owner

@doctrinebot commented on GitHub (Nov 21, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-853] was closed:
https://github.com/doctrine/doctrine2/pull/853

@doctrinebot commented on GitHub (Nov 21, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-853] was closed: https://github.com/doctrine/doctrine2/pull/853
Author
Owner

@doctrinebot commented on GitHub (Aug 18, 2014):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Aug 18, 2014): Issue was closed with resolution "Invalid"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3513