Skip to content

DDC-159: XmlDriver repository-class element causes exception #2226

Closed
doctrinebot opened this Issue Nov 19, 2009 · 2 comments

1 participant

@doctrinebot

Jira issue originally created by user alex:

Using the repository-class="MyCustomRepository" in the element causes an error.

A little debugging led me to Doctrine\ORM\Mapping\Driver\XmlDriver @ 53

isset($xmlRoot['repository-class']) ? $xmlRoot['repository-class'] : null

Should become

isset($xmlRoot['repository-class']) ? (string)$xmlRoot['repository-class'] : null
@doctrinebot

Comment created by romanb:

Thanks for the patch! Fixed now.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-ALPHA4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
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.