Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-503

Getting error when using id generator stategy NONE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-BETA2
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      When trying to build my entities and schema for an entity that has no id generator I'm getting the error: "orm:convert-mapping => Invalid provided IdGeneratorType: 5"

      I've tracked it down to the _getIdGeneratorTypeString() method on the Doctrine\ORM\Tools\EntityGenerator class. This method checks for all types of generators except NONE.

        Activity

        Hide
        Guilherme Blanco added a comment -
        Show
        Guilherme Blanco added a comment - In http://github.com/doctrine/doctrine2/commit/b6f9cd0c074b22e567b43ea7f0bddfe9b106d598 this issue was fixed! Thanks for the report!

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Steven Surowiec
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: