Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-369

[GH-219] Fix storage of binary data for array and object types

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of kdambekalns:

      Url: https://github.com/doctrine/dbal/pull/219

      Message:

      serialize() returns binary data (NUL bytes) and not all platforms
      handle that in CLOB fields (e.g. PostgreSQL).

      This change uses base64 encoding to work around that, and transparently
      reads (old) non-base64 data as well.

      Fixes DBAL-368

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: