[DBAL-128] Additional types are not registered in the platforms when creating a connection Created: 16/Jun/11  Updated: 16/Jun/11  Resolved: 16/Jun/11

Status: Resolved
Project: Doctrine DBAL
Component/s: Drivers
Affects Version/s: 2.0.5
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Christophe Coevoet Assignee: Benjamin Eberlei
Resolution: Invalid Votes: 0
Labels: None


New types have to be registered in the platforms using registerDoctrineMappingType but the driver does not call this for type that are registered using Type::addType
This issue has been reported by some Symfony user here https://github.com/symfony/symfony/issues/1349 but the bug is indeed in DBAL.

Btw, this also affects the master branch but this project does not allow to select it (the ORM project does)

Comment by Benjamin Eberlei [ 16/Jun/11 ]

This is not a "bug". This methods have to called indepdentatly.

Comment by Christophe Coevoet [ 16/Jun/11 ]

When I asked you about this some times ago for the DoctrineBundle integration, you told me that calling Type:addType was enough

Comment by Benjamin Eberlei [ 16/Jun/11 ]

cant remember, i must have been tired sorry

Generated at Sat Oct 10 10:37:40 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.