Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-957

When there is no GeneratedValue strategy on a primary key, setter function should be generated

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Mapping Drivers
    • Security Level: All
    • Labels:
      None
    • Environment:
      PHP 5.3.3

      Description

      In the YAML/XML, if no GeneratedValue strategy is given for the primary key, a setter function is required in the generated entity class. Currently only a getter is made.

        Activity

        Flyn San created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Assignee Benjamin Eberlei [ beberlei ] Jonathan H. Wage [ jwage ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12262 ] jira-feedback [ 13896 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13896 ] jira-feedback2 [ 15760 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15760 ] jira-feedback3 [ 18017 ]

        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-957, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Flyn San
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: