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

the EntityGenerator generate getters and setters for properties of the parent class

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.0.2, 2.1
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      when using the EntityGenerator to generate getters and setters of two classes mapped with annotations, one inheriting from the other, the EntityGenerator generates getters and setters for the properties of the parent class in the child class too. This occurs since the recent EntityGenerator changes (as it did not care about inheritance before).
      I suppose this is due to the fact that the getters and setters of the parent class are not yet generated when handling the child class.

      I haven't try if it works well when using XML or YAML for the mapping.

        Activity

        stof Christophe Coevoet created issue -
        beberlei Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.2 [ 10116 ]
        Fix Version/s 2.1 [ 10022 ]
        Resolution Fixed [ 1 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 12368 ] jira-feedback [ 14758 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14758 ] jira-feedback2 [ 16622 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 16622 ] jira-feedback3 [ 18875 ]

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            stof Christophe Coevoet
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: