Closed tobyS closed 6 years ago
The XmlDriver by now casts the "target-document" attribute to string regardless of if it is set or not. This results in the EmbeddedDocumentSerializer to try to look up an empty class. See:
https://github.com/doctrine/couchdb-odm/blob/master/lib/Doctrine/ODM/CouchDB/Mapping/EmbeddedDocumentSerializer.php#L53
This PR provides fix.
The XmlDriver by now casts the "target-document" attribute to string regardless of if it is set or not. This results in the EmbeddedDocumentSerializer to try to look up an empty class. See:
https://github.com/doctrine/couchdb-odm/blob/master/lib/Doctrine/ODM/CouchDB/Mapping/EmbeddedDocumentSerializer.php#L53
This PR provides fix.