mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-631: XMLDriver $metadata->table['indexes'] undefined #778
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jun 10, 2010).
Jira issue originally created by user frantisek.troster:
Hi,
I've been playing with Doctrine2 XML definitions and was testing indexes:
....
......
which caused a PHP Warning: Illegal offset type in XmlDriver.php on line 112:
$metadata->table['indexes'][$index['name']] = array(
'columns' => $columns
);
It seems $metadata->table['indexes'] is undefined although it should be an array. I'm not sure if the problem is in the definition, please let me know if you need whole XML entity definition or more details.
@doctrinebot commented on GitHub (Jun 28, 2010):
Comment created by @beberlei:
This was fixed with this commit
4705c1cb03on 13. June already, it is therefore in Beta2 already.@doctrinebot commented on GitHub (Jun 28, 2010):
Issue was closed with resolution "Fixed"