Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
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;
}
Activity
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 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-73, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
From the PHP manual about unserialize():
In case the passed string is not unserializeable, FALSE is returned and E_NOTICE is issued.The solution: Use NULL instead of false