Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@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.