| |
doctrine-svn |
#1703: [PATCH] Serializing a record changes it Cloning the object and serializing the clone solves this issue.
Patch is for 0.11 branch, however, this defect seems to exist in 1.0 as
--
-----------------------------------+--------------------------------------- -
Reporter: magnus_nordlander | Owner: romanb
Type: defect | Status: new
Priority: minor | Milestone:
Component: Record | Version: 0.11.0
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 1
-----------------------------------+--------------------------------------- -
When a transient dirty object is serialized, the object is altered. Any
changed columns will be set to null (not Doctrine_Null), which causes
errors when trying to access the values in those columns.
well. A similar patch should work there too.
Ticket URL: <http://trac.doctrine-project.org/ticket/1703>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper