Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-129

Doctrine\ORM\Mapping\ClassMetadataInfo does not properly handle identifier quoting

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.6
    • Component/s: None
    • Labels:
      None

      Description

      Several methods in Doctrine\ORM\Mapping\ClassMetadataInfo assume that table names and field names may be quoted. In all places, logic assumes that the quote character will always be ` (backtick). There seems to be no way to properly quote table names with [] (square brackets) when working with SQL Server databases.

        Activity

        Patrick Schwisow created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Patrick Schwisow made changes -
        Resolution Invalid [ 6 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Benjamin Eberlei made changes -
        Assignee Benjamin Eberlei [ beberlei ] Juozas Kaziukenas [ juokaz ]
        Benjamin Eberlei made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 2.0.6 [ 10140 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Project Doctrine 2 - ORM [ 10032 ] Doctrine DBAL [ 10040 ]
        Key DDC-1202 DBAL-129
        Affects Version/s 2.0.4 [ 10131 ]
        Affects Version/s 2.0.4 [ 10130 ]
        Component/s ORM [ 10012 ]
        Fix Version/s 2.0.6 [ 10141 ]
        Fix Version/s 2.0.6 [ 10140 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12707 ] jira-feedback2 [ 17724 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17724 ] jira-feedback3 [ 20079 ]

          People

          • Assignee:
            Juozas Kaziukenas
            Reporter:
            Patrick Schwisow
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: