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

Use the DBAL ReservedKeywordsValidator in orm:validate-schema


    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.6, Git Master
    • Fix Version/s: None
    • Component/s: Tools
    • Security Level: All
    • Labels:


      DBAL provides a ReservedKeywordsValidator to check whether a word is reserved. But this tool is not used by the ORM when validating the schema. It would be useful to use it to avoid WTF from users getting a PDOException when creating their schema because of this.
      The other solution if you don't want to add this in orm:validate-schema would be to create a dedicated command.


        stof Christophe Coevoet created issue -
        beberlei Benjamin Eberlei made changes -
        Field Original Value New Value
        Workflow jira [ 12727 ] jira-feedback [ 13937 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13937 ] jira-feedback2 [ 15801 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15801 ] jira-feedback3 [ 18058 ]

        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-1217}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)


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


            • Created: