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

GENERATOR_TYPE_UUID missing in EntityGenerator.php


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4, 2.3.1
    • Component/s: ORM
    • Security Level: All
    • Labels:
    • Environment:
      Codeigniter 2


      Hey guys!

      In my model I used UUID as the generator strategy for my id:
      It works for creating my UUID but when I add some changes to my model and run
      orm:generate-entities --generate-annotations="true" models/
      it throws the following exception:
      Invalid provided IdGeneratorType: 6 "

      Looking at the EntityGenerator.php I saw that the UUID type is not (yet?) in there. When I add it to the function getIdGeneratorTypeString() everything works fine...
      I'm new to Doctrine so I'm not sure if this is actually a bug, but it seems weird to me


        paro22 Paul R created issue -
        fabio.bat.silva Fabio B. Silva made changes -
        Field Original Value New Value
        Assignee Benjamin Eberlei [ beberlei ] Fabio B. Silva [ fabio.bat.silva ]
        fabio.bat.silva Fabio B. Silva added a comment - Fixed : https://github.com/doctrine/doctrine2/commit/29f0b678cfb991e90af3eed023fb8c62ec8f7acf
        fabio.bat.silva Fabio B. Silva made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.4 [ 10321 ]
        Resolution Fixed [ 1 ]
        beberlei Benjamin Eberlei made changes -
        Fix Version/s 2.3.1 [ 10323 ]

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


          • Assignee:
            fabio.bat.silva Fabio B. Silva
            paro22 Paul R
          • Votes:
            0 Vote for this issue
            2 Start watching this issue


            • Created: