Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-802

Missing variable $name in XmlExporter

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-BETA4
    • Fix Version/s: 2.0-RC1
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      At line 112 http://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php#L112 is required variable $name. This variable should be replaced by $unique['name']. And before this line should be test if(isset($unique['name'])).

        Activity

        Hide
        Guilherme Blanco added a comment -
        Show
        Guilherme Blanco added a comment - On http://github.com/doctrine/doctrine2/commit/4845745337dbbed5eead25c3062a07103b38649f I fixed this issue. Thanks for the report.

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Martin Hasoň
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: