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

        Marcus Speight created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Marcus Speight made changes -
        Resolution Won't Fix [ 2 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Marcus Speight made changes -
        Attachment Setting.php [ 10887 ]
        Benjamin Eberlei made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 2.0-RC5 [ 10113 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12197 ] jira-feedback2 [ 17683 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17683 ] jira-feedback3 [ 20038 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: