Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-832

Not quoted class name when updating entity

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-BETA4
    • Fix Version/s: 2.0-RC1
    • Component/s: None
    • Security Level: All
    • Labels:
      None
    • Environment:
      postgresql 8.4 php 5.3.2

      Description

      When trying to update an entity which have a reserved name. Doctrine doesn't quoted its name.

      On Doctrine\ORM\Persisters\BasicEntityPersister, _updateTable, $tableName is directly used to create the sql. We may use $this->_class->getQuotedTableName($this->_platform) instead ?

      I'm going to propose a merge for that on github.

        Issue Links

          Activity

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Paul Fariello
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: