<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 19 03:35:09 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+10032+AND+labels+%3D+merge&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+10032+AND+labels+%3D+merge</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="3" total="3"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-2146] Detach and merge cascading not working properly</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2146</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;The problem is described in detail here: &lt;a href=&quot;http://stackoverflow.com/questions/13372305/doctrine-detaching-caching-and-merging&quot; class=&quot;external-link&quot;&gt;http://stackoverflow.com/questions/13372305/doctrine-detaching-caching-and-merging&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;No one on IRC seems to know why this won&apos;t work.  I was using 2.2.2, I&apos;ve since updated to 2.3 and I&apos;m still seeing the same issue.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14226">DDC-2146</key>
            <summary>Detach and merge cascading not working properly</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="tubaguy50035">Nick Walke</reporter>
                        <labels>
                        <label>cascade</label>
                        <label>detach</label>
                        <label>merge</label>
                    </labels>
                <created>Thu, 15 Nov 2012 02:01:05 +0000</created>
                <updated>Thu, 15 Nov 2012 14:19:20 +0000</updated>
                    <resolved>Thu, 15 Nov 2012 14:19:20 +0000</resolved>
                            <version>2.2.2</version>
                <version>2.3</version>
                                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18991" author="tubaguy50035" created="Thu, 15 Nov 2012 14:19:20 +0000"  >&lt;p&gt;This was a typo on my part.  Disregard.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2033] Merge with multiple Associations to the same Entity</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2033</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Let&apos;s say we have 2 Entities. User and Group and there&apos;s a ManyToMany Assocication and an additional ManyToOne (User as owning side and no inverse).&lt;/p&gt;

&lt;p&gt;So a User can have as many Groups as he likes and one another with the ManyToOne Association which can be also in the ManyToMany Collection. (Could be the MainGroup or something)&lt;/p&gt;

&lt;p&gt;I create a User and add a Group(already in DB) and set the same as the ManyToOne and Merge it. Everything works fine as long as the Group in ManyToOne Association is not in the ManyToMany. &lt;/p&gt;

&lt;p&gt;If I var_dump the merged entity i can already see that one association is empty.&lt;/p&gt;

&lt;p&gt;It looks like doctrine is writing just one association of that Group preferring which one comes first. So if i change the position of the properties in the class the written association changes, but doctrine never writes both.&lt;/p&gt;

&lt;p&gt;The reason why I use merge is that I normally store the entity in the session and merge and flush it in another request. But this also happens in the same Request.&lt;/p&gt;

&lt;p&gt;In the UnitofWork at Line 2050 and 2053 are the responsible doMerge Calls for as CascadeMerge Tagged Associations. If Doctrine gets there in the first place the doMerge for the Group is running through. In the Second call when the Group is again associated with the user the doMerge already exits at line 1658. That&apos;s ok but I think there&apos;s something missing so doctrine isn&apos;t creating the association.&lt;/p&gt;

&lt;p&gt;The Mentioned Entites are attached&lt;/p&gt;</description>
                <environment>Symfony 2.1.1, Ubuntu, PHP 5.3.5</environment>
            <key id="14044">DDC-2033</key>
            <summary>Merge with multiple Associations to the same Entity</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="soeren.j">s&#246;ren jahns</reporter>
                        <labels>
                        <label>merge</label>
                    </labels>
                <created>Mon, 17 Sep 2012 14:29:20 +0000</created>
                <updated>Wed, 23 Jan 2013 22:06:58 +0000</updated>
                    <resolved>Wed, 23 Jan 2013 22:06:58 +0000</resolved>
                            <version>2.2.3</version>
                                                <component>ORM</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19380" author="ocramius" created="Wed, 23 Jan 2013 22:06:58 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1942&quot; title=&quot;problem with serialize/merging entities with aggregation&quot;&gt;&lt;del&gt;DDC-1942&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11323" name="Group.php" size="485" author="soeren.j" created="Mon, 17 Sep 2012 14:29:20 +0000" />
                    <attachment id="11324" name="User.php" size="951" author="soeren.j" created="Mon, 17 Sep 2012 14:29:20 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1942] problem with serialize/merging entities with aggregation</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1942</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;i have these two entities:&lt;/p&gt;

&lt;p&gt;namespace nuevo_paquete;&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
class Clase_01{
	/**
	* @Id
	* @Column(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;,type=&lt;span class=&quot;code-quote&quot;&gt;&quot;integer&quot;&lt;/span&gt;,nullable=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;)
	* @GeneratedValue
	*/
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $id;
        
        /**
	* @ManyToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;\paquete_02\Clase_03&quot;&lt;/span&gt;, inversedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;clase_01&quot;&lt;/span&gt;, fetch=&lt;span class=&quot;code-quote&quot;&gt;&quot;EXTRA_LAZY&quot;&lt;/span&gt;, cascade={&lt;span class=&quot;code-quote&quot;&gt;&quot;detach&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;merge&quot;&lt;/span&gt;})
	* @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;clase_03&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;)
	*/
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $clase_03;

        /**
	* @ManyToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;\paquete_02\Clase_03&quot;&lt;/span&gt;, inversedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;clase_01_1&quot;&lt;/span&gt;, fetch=&lt;span class=&quot;code-quote&quot;&gt;&quot;EXTRA_LAZY&quot;&lt;/span&gt;, cascade={&lt;span class=&quot;code-quote&quot;&gt;&quot;detach&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;merge&quot;&lt;/span&gt;})
	* @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;clase_03_1&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;)
	*/
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $clase_03_1;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
namespace paquete_02;
class Clase_03{
   /**
	* @Id
	* @Column(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;,type=&lt;span class=&quot;code-quote&quot;&gt;&quot;integer&quot;&lt;/span&gt;,nullable=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;)
	* @GeneratedValue
	*/
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $id;

        /**
	* @OneToMany(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;\nuevo_paquete\Clase_01&quot;&lt;/span&gt;, mappedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;clase_03&quot;&lt;/span&gt;, fetch=&lt;span class=&quot;code-quote&quot;&gt;&quot;EXTRA_LAZY&quot;&lt;/span&gt;, cascade={&lt;span class=&quot;code-quote&quot;&gt;&quot;detach&quot;&lt;/span&gt;})
	*/
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $clase_01;
	
	/**
	* @OneToMany(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;\nuevo_paquete\Clase_01&quot;&lt;/span&gt;, mappedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;clase_03_1&quot;&lt;/span&gt;, fetch=&lt;span class=&quot;code-quote&quot;&gt;&quot;EXTRA_LAZY&quot;&lt;/span&gt;, cascade={&lt;span class=&quot;code-quote&quot;&gt;&quot;detach&quot;&lt;/span&gt;})
	*/
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $clase_01_1;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Clase_01 have two aggregation association with Clase_03&lt;/p&gt;

&lt;p&gt;    Clase_01 ------&amp;gt; Clase_03&lt;/p&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;-----&amp;gt; Clase_03_1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;


&lt;p&gt;when serialize an object of class Clase_01 and then unserialize, i lost the reference to the object of class Clase_03&lt;br/&gt;
but i can see Clase_03_1&lt;/p&gt;

&lt;p&gt;ej:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$aux_orm = $em-&amp;gt;find(&apos;nuevo_paquete\Clase_01&apos;, 1);
$em-&amp;gt;detach($aux_orm);
$aux_s = serialize($aux_orm);
$aux_orm = unserialize($aux_s);

$aux_orm = $em-&amp;gt;merge($aux_orm);
echo &apos;[&apos;.$aux_orm-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [1]
&lt;/span&gt;echo &apos;[&apos;.$aux_orm-&amp;gt;getClase_03()-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [] expected : [1]
&lt;/span&gt;echo &apos;[&apos;.$aux_orm-&amp;gt;getClase_03_1()-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [1]&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;when i call get_clase_03() before detach the object, i can see the object Clase_03&lt;br/&gt;
ej:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$aux_orm = $em-&amp;gt;find(&apos;nuevo_paquete\Clase_01&apos;, 1);
$aux_orm-&amp;gt;getClase_03()-&amp;gt;getId();

$em-&amp;gt;detach($aux_orm);
$aux_s = serialize($aux_orm);
$aux_orm = unserialize($aux_s);

$aux_orm = $em-&amp;gt;merge($aux_orm);
echo &apos;[&apos;.$aux_orm-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [1]
&lt;/span&gt;echo &apos;[&apos;.$aux_orm-&amp;gt;getClase_03()-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [1]
&lt;/span&gt;echo &apos;[&apos;.$aux_orm-&amp;gt;getClase_03_1()-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [1]&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>linux, php 5.4.4, apache 2.2.22, mysql 5.5</environment>
            <key id="13878">DDC-1942</key>
            <summary>problem with serialize/merging entities with aggregation</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="gabrielnn77">gabriel sancho</reporter>
                        <labels>
                        <label>merge</label>
                        <label>serialize</label>
                    </labels>
                <created>Tue, 24 Jul 2012 13:42:54 +0000</created>
                <updated>Wed, 27 Feb 2013 00:11:16 +0000</updated>
                    <resolved>Wed, 27 Feb 2013 00:11:06 +0000</resolved>
                            <version>2.2.2</version>
                                                <component>ORM</component>
                        <due></due>
                    <votes>3</votes>
                        <watches>6</watches>
                        <comments>
                    <comment id="18376" author="gabrielnn77" created="Tue, 24 Jul 2012 13:53:31 +0000"  >&lt;p&gt;if i call $em-&amp;gt;find() i still not able to view the object&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-comment&quot;&gt;//----------------------------------------
&lt;/span&gt;$aux_orm = $em-&amp;gt;find(&apos;nuevo_paquete\Clase_01&apos;, 1);
$em-&amp;gt;detach($aux_orm);
$aux_s = serialize($aux_orm);
$aux_orm = unserialize($aux_s);

$aux_orm = $em-&amp;gt;merge($aux_orm);
echo &apos;[&apos;.$aux_orm-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [1]
&lt;/span&gt;echo &apos;[&apos;.$aux_orm-&amp;gt;getClase_03()-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [] expected : [1]
&lt;/span&gt;echo &apos;[&apos;.$aux_orm-&amp;gt;getClase_03_1()-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [1]
&lt;/span&gt;
$aux_orm = $em-&amp;gt;find(&apos;nuevo_paquete\Clase_01&apos;, 1);
echo &apos;[&apos;.$aux_orm-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [1]
&lt;/span&gt;echo &apos;[&apos;.$aux_orm-&amp;gt;getClase_03()-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// still empty [] expected : [1]&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;//----------------------------------------&lt;br/&gt;
and  if i have another register referencing the same object of class_03, i can&apos;t view&lt;br/&gt;
ej:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$aux_orm = $em-&amp;gt;find(&apos;nuevo_paquete\Clase_01&apos;, 2);
echo &apos;[&apos;.$aux_orm-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// [2]
&lt;/span&gt;echo &apos;[&apos;.$aux_orm-&amp;gt;getClase_03()-&amp;gt;getId().&apos;]&apos;; &lt;span class=&quot;code-comment&quot;&gt;// still empty [] expected : [1]&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="18377" author="amarquez" created="Tue, 24 Jul 2012 14:05:33 +0000"  >&lt;p&gt;i have the same problem&lt;/p&gt;</comment>
                    <comment id="18399" author="beberlei" created="Sun, 29 Jul 2012 08:04:15 +0000"  >&lt;p&gt;formatted code&lt;/p&gt;</comment>
                    <comment id="18400" author="beberlei" created="Sun, 29 Jul 2012 08:06:40 +0000"  >&lt;p&gt;Can you paste a var_dump() of class1 after you call detach and before serialize and then another one after you called unserialize? Also a var_dump of the serialized string $aux_s&lt;/p&gt;</comment>
                    <comment id="18419" author="gabrielnn77" created="Mon, 30 Jul 2012 14:19:11 +0000"  >&lt;p&gt;var_dump in attached file&lt;/p&gt;</comment>
                    <comment id="18627" author="gabrielnn77" created="Tue, 11 Sep 2012 16:11:10 +0000"  >&lt;p&gt;i found that if the class has more than two levels have the same problem&lt;br/&gt;
by ex. i have to do&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-comment&quot;&gt;// class1 -&amp;gt; register id 1
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;// class2 -&amp;gt; register id 1
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;// class3 -&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, don&apos;t exist
&lt;/span&gt;$class2 = $class1-&amp;gt;getClass2();
$class3 = $class2-&amp;gt;getClass3();
$class3-&amp;gt;getId();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;otherwise doctrine insert new registers in database for class3&lt;br/&gt;
after unserialize&lt;/p&gt;</comment>
                    <comment id="18628" author="gsesia" created="Tue, 11 Sep 2012 16:19:29 +0000"  >&lt;p&gt;I have same problems&lt;/p&gt;</comment>
                    <comment id="18629" author="gabrielnn77" created="Tue, 11 Sep 2012 16:57:12 +0000"  >&lt;p&gt;if i declare in the entity annotation fetch=&quot;EAGER&quot; works fine&lt;/p&gt;</comment>
                    <comment id="19120" author="valentin" created="Tue, 11 Dec 2012 15:53:25 +0000"  >&lt;p&gt;I have the same problem.&lt;/p&gt;

&lt;p&gt;From what I saw, if I use fetch: EAGER, all my distinct entities are merged indeed, but if a specific entity (instance) is in two different collections, only one collection will have this instance.&lt;/p&gt;

&lt;p&gt;So, any news about this bug ?&lt;/p&gt;</comment>
                    <comment id="19130" author="valentin" created="Thu, 13 Dec 2012 11:16:23 +0000"  >&lt;p&gt;I&apos;m still trying to get my stuff works, and I&apos;m now pretty sure that as soon as an object have to be merge more than once in a row (because of cascade associations), it end up being only in one collection, and lost for other entities.&lt;/p&gt;

&lt;p&gt;I hope this could help.&lt;/p&gt;</comment>
                    <comment id="19372" author="ocramius" created="Wed, 23 Jan 2013 21:41:44 +0000"  >&lt;p&gt;I think this one is also related with &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1734&quot; title=&quot;Uninitialized proxies cannot be serialized properly&quot;&gt;&lt;del&gt;DDC-1734&lt;/del&gt;&lt;/a&gt; (noticed a lot of un-initialized objects).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=gabrielnn77&quot; class=&quot;user-hover&quot; rel=&quot;gabrielnn77&quot;&gt;gabriel sancho&lt;/a&gt; can you please try initializing ALL of these related objects prior to detaching/serializing and repeat your checks?&lt;/p&gt;</comment>
                    <comment id="19400" author="gabrielnn77" created="Thu, 24 Jan 2013 13:20:51 +0000"  >&lt;p&gt;How do I have to initialize the objects?&lt;/p&gt;</comment>
                    <comment id="19401" author="ocramius" created="Thu, 24 Jan 2013 13:23:08 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=gabrielnn77&quot; class=&quot;user-hover&quot; rel=&quot;gabrielnn77&quot;&gt;gabriel sancho&lt;/a&gt; by calling any method that is not `getId` on them. &lt;br/&gt;
This will initialize them&lt;/p&gt;</comment>
                    <comment id="19675" author="ocramius" created="Sat, 23 Feb 2013 01:25:50 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=gabrielnn77&quot; class=&quot;user-hover&quot; rel=&quot;gabrielnn77&quot;&gt;gabriel sancho&lt;/a&gt; news on this one? Managed to verify it?&lt;/p&gt;</comment>
                    <comment id="19677" author="ocramius" created="Sat, 23 Feb 2013 03:19:01 +0000"  >&lt;p&gt;This may be a duplicate of &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2306&quot; title=&quot;Lazy loading associated entity&amp;#39;s property causes identity loss when another association is set to fetch=&amp;quot;EAGER&amp;quot;&quot;&gt;&lt;del&gt;DDC-2306&lt;/del&gt;&lt;/a&gt; &lt;/p&gt;</comment>
                    <comment id="19686" author="beberlei" created="Tue, 26 Feb 2013 05:55:53 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-585&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/585&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/585&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19693" author="ocramius" created="Wed, 27 Feb 2013 00:11:07 +0000"  >&lt;p&gt;This issue is valid only before the fix introduced at &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2306&quot; title=&quot;Lazy loading associated entity&amp;#39;s property causes identity loss when another association is set to fetch=&amp;quot;EAGER&amp;quot;&quot;&gt;&lt;del&gt;DDC-2306&lt;/del&gt;&lt;/a&gt;. Duplicate confirmed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11214" name="project_debug.log" size="1709808" author="gabrielnn77" created="Mon, 30 Jul 2012 14:19:01 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>