Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-128

Additional types are not registered in the platforms when creating a connection

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.0.5
    • Fix Version/s: None
    • Component/s: Drivers
    • Labels:
      None

      Description

      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)

        Activity

        Hide
        Benjamin Eberlei added a comment -

        cant remember, i must have been tired sorry

        Show
        Benjamin Eberlei added a comment - cant remember, i must have been tired sorry
        Hide
        Christophe Coevoet added a comment -

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

        Show
        Christophe Coevoet added a comment - When I asked you about this some times ago for the DoctrineBundle integration, you told me that calling Type:addType was enough
        Hide
        Benjamin Eberlei added a comment -

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

        Show
        Benjamin Eberlei added a comment - This is not a "bug". This methods have to called indepdentatly.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Christophe Coevoet
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: