Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-73

Could not convert database value "b:0;" to Doctrine Type object

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-RC1-RC3
    • Fix Version/s: 2.0-RC5
    • Component/s: None
    • Labels:
      None

      Description

      The following class when value is set to false causes "Could not convert database value "b:0;" to Doctrine Type object" exception when loading the entity.

      /** @orm:Entity */
      class MyClass
      {
      /**

      • @orm:Column(name="value", type="object")
        */
        public $value;
        }
      1. Setting.php
        1 kB
        Marcus Speight

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: