Doctrine 1
  1. Doctrine 1
  2. DC-592

PHP Fatal error: Call to undefined method Doctrine_Connection_Oracle::getDeclaration() in ....\Doctrine\Export\Oracle.php on line 501

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.2
    • Component/s: None
    • Labels:
      None

      Description

      When I try to execute a migration of my DB with doctrine CLI migrate, i get this error.
      I fixed it changing the following in Export/Oracle.php
      #501 : $fields[] = $this->conn->getDeclaration($fieldName, $field); => $fields[] = $this->getDeclaration($fieldName, $field);

      #509 : $fields[] = $fieldName. ' ' . $this->conn->getDeclaration('', $field['definition']); => $fields[] = $fieldName. ' ' . $this->getDeclaration('', $field['definition']);

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            zebulon303
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: