{"pull_request":{"merged_at":null,"title":"Bug fix in PersistentCollection handling during merge operation.","user":{"login":"z7","id":196155,"url":"https://api.github.com/users/z7","avatar_url":"https://secure.gravatar.com/avatar/01a4d7eb2a336bc6834a7f92fd4c278d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"01a4d7eb2a336bc6834a7f92fd4c278d"},"created_at":"2011-12-28T13:58:35Z","state":"open","updated_at":"2011-12-28T13:58:35Z","review_comments":0,"patch_url":"https://github.com/doctrine/mongodb-odm/pull/220.patch","id":634424,"deletions":2,"closed_at":null,"html_url":"https://github.com/doctrine/mongodb-odm/pull/220","mergeable":null,"base":{"user":{"login":"doctrine","id":209254,"url":"https://api.github.com/users/doctrine","avatar_url":"https://secure.gravatar.com/avatar/ba1cea66dea9be22341d7d104d0f22b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"ba1cea66dea9be22341d7d104d0f22b1"},"ref":"master","sha":"996c020d39f9ecf6ca49986f6a0c0669440fa450","repo":{"open_issues":43,"created_at":"2010-05-20T20:20:00Z","watchers":253,"git_url":"git://github.com/doctrine/mongodb-odm.git","fork":false,"updated_at":"2011-12-26T21:02:01Z","id":677781,"language":"PHP","html_url":"https://github.com/doctrine/mongodb-odm","name":"mongodb-odm","description":"Doctrine MongoDB Object Document Mapper (ODM)","master_branch":null,"pushed_at":"2011-12-23T23:37:17Z","url":"https://api.github.com/repos/doctrine/mongodb-odm","ssh_url":"git@github.com:doctrine/mongodb-odm.git","clone_url":"https://github.com/doctrine/mongodb-odm.git","forks":86,"owner":{"login":"doctrine","id":209254,"url":"https://api.github.com/users/doctrine","avatar_url":"https://secure.gravatar.com/avatar/ba1cea66dea9be22341d7d104d0f22b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"ba1cea66dea9be22341d7d104d0f22b1"},"homepage":"http://www.doctrine-project.org/projects/mongodb_odm","size":632,"svn_url":"https://github.com/doctrine/mongodb-odm","private":false},"label":"doctrine:master"},"issue_url":"https://github.com/doctrine/mongodb-odm/issues/220","body":"After serializing/deserializing a document with PersistentCollection(s), initialized collections lose their reference to the DocumentManager and UnitOfWork.\r\nAnd as a result an error will triggered when trying to clear the collection or do any other operation requiring access to one of these 2 objects.\r\n\r\nAnother issue is the fact that any collection in a merged document may have different contents than the coresponding document field from the database, so a dirty check is required in order to properly synchronize.","number":220,"commits":1,"additions":16,"url":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/220","diff_url":"https://github.com/doctrine/mongodb-odm/pull/220.diff","merged_by":null,"_links":{"review_comments":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/220/comments"},"html":{"href":"https://github.com/doctrine/mongodb-odm/pull/220"},"self":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/220"},"comments":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/issues/220/comments"}},"comments":0,"head":{"user":{"login":"z7","id":196155,"url":"https://api.github.com/users/z7","avatar_url":"https://secure.gravatar.com/avatar/01a4d7eb2a336bc6834a7f92fd4c278d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"01a4d7eb2a336bc6834a7f92fd4c278d"},"ref":"bugfix_in_persistent_collection_merging","sha":"8b6e6bf14575236e7304bb3b71e8b666e502ffd8","repo":{"open_issues":0,"created_at":"2011-12-16T14:49:47Z","watchers":1,"git_url":"git://github.com/z7/mongodb-odm.git","fork":true,"updated_at":"2011-12-28T13:58:12Z","id":2995248,"language":"PHP","html_url":"https://github.com/z7/mongodb-odm","name":"mongodb-odm","description":"Doctrine MongoDB Object Document Mapper (ODM)","master_branch":"bugfix_in_persistent_collection_merging","pushed_at":"2011-12-28T13:57:36Z","url":"https://api.github.com/repos/z7/mongodb-odm","ssh_url":"git@github.com:z7/mongodb-odm.git","clone_url":"https://github.com/z7/mongodb-odm.git","forks":0,"owner":{"login":"z7","id":196155,"url":"https://api.github.com/users/z7","avatar_url":"https://secure.gravatar.com/avatar/01a4d7eb2a336bc6834a7f92fd4c278d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"01a4d7eb2a336bc6834a7f92fd4c278d"},"homepage":"http://www.doctrine-project.org/projects/mongodb_odm","size":144,"svn_url":"https://github.com/z7/mongodb-odm","private":false},"label":"z7:bugfix_in_persistent_collection_merging"},"merged":false,"changed_files":2},"number":220,"action":"opened"}