Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2325

[GH-594] Use inflector in EntityGenerator

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

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

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

      Message:

      The way EntityGenerator handles add/edit methods is wrong.

      Example:

      class SomeEntity

      { /* @ORM\OneToMany(...) */ private $entries; }

      In this case the generator creates

      addEntrie and removeEntrie methods. They should be be addEntry and removeEntry

      This patch fixes that.

        Activity

        Benjamin Eberlei created issue -
        Hide
        Benjamin Eberlei added a comment -

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

        Show
        Benjamin Eberlei added a comment - A related Github Pull-Request [GH-594] was closed https://github.com/doctrine/doctrine2/pull/594
        Hide
        Marco Pivetta added a comment -

        merged

        Show
        Marco Pivetta added a comment - merged
        Marco Pivetta made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Guilherme Blanco [ guilhermeblanco ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Fix Version/s 2.4 [ 10321 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-2325, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: