Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-2809

[GH-853] Fix for PHP entity default values generated by EntityGenerator

    Details

      Description

      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.

        Issue Links

          Activity

          Hide
          doctrinebot Doctrine Bot added a comment -

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

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-853] was closed: https://github.com/doctrine/doctrine2/pull/853

            People

            • Assignee:
              ocramius Marco Pivetta
              Reporter:
              doctrinebot Doctrine Bot
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: