Skip to content

Loading…

DDC-631: XMLDriver $metadata->table['indexes'] undefined #5141

Closed
doctrinebot opened this Issue · 2 comments

1 participant

@doctrinebot

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

Comment created by @beberlei:

This was fixed with this commit http://github.com/doctrine/doctrine2/commit/4705c1cb037a95e4a1465128df97dc2a0d6b038e on 13. June already, it is therefore in Beta2 already.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-BETA2 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.