Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion #1703: [PATCH] Serializing a record changes it
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Doctrine  
View profile   Translate to Translated (View Original)
 More options 30 Nov 2008, 22:35
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Sun, 30 Nov 2008 22:35:59 -0000
Local: Sun 30 Nov 2008 22:35
Subject: [Doctrine] #1703: [PATCH] Serializing a record changes it
#1703: [PATCH] Serializing a record changes it
-----------------------------------+--------------------------------------- -
 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.

 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
 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google