Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1217

Use the DBAL ReservedKeywordsValidator in orm:validate-schema

    Details

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

      Description

      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.

        Activity

        Christophe Coevoet created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Workflow jira [ 12727 ] jira-feedback [ 13937 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13937 ] jira-feedback2 [ 15801 ]
        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={query=DDC-1217, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated: