Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-693

NULL values from Postgres boolean columns are loaded as FALSE instead of NULL

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-BETA3
    • Component/s: None
    • Security Level: All
    • Labels:
      None
    • Environment:
      PostgreSQL 8.4.3

      Description

      I have column in PostgreSQL defined as "BOOLEAN NULL". If I store NULL value to database and then load it back, I get FALSE instead of NULL.

      Example entity and test attached.

      I am not sure if this issue applies to ORM or DBAL, so posting here.

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Jan Tichý
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: