Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-88

SchemaTool/Platform DDL does not escape column names

    Details

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

      Description

      The column identifiers are not quoted in the SchemaTool/Platform.

      Funny is Doctrine\Tests\ORM\Functional\SchemaTool\MysqlSchemaToolTest::testGetCreateSchemaSql2() suffers from this "problem" by asserting mysql invalid syntax as correct creation code.

      All identifiers should be escaped by the Platform.

        Activity

        Benjamin Eberlei created issue -
        Roman S. Borschel made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.0-ALPHA3 [ 10029 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 10289 ] jira-feedback [ 15457 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15457 ] jira-feedback2 [ 17321 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17321 ] jira-feedback3 [ 19578 ]

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: