<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Fri May 24 20:51:08 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+PHPCR+AND+status+%3D+Resolved+ORDER+BY+priority+DESC&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+PHPCR+AND+status+%3D+Resolved+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="32" total="32"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[PHPCR-102] DocumentManager::reorder can not be called multiple times for the same parent</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-102</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;unless i really misread the code in UnitOfWork::scheduleReorder, trying to reorder more than one child of the same parent document will drop the previous reordering.&lt;/p&gt;

&lt;p&gt;the whole method is of limited use, as you can also reorder the children in the ChildrenCollection.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14650">PHPCR-102</key>
            <summary>DocumentManager::reorder can not be called multiple times for the same parent</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="dbu">David Buchmann</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Mar 2013 16:40:08 +0000</created>
                <updated>Fri, 19 Apr 2013 11:10:20 +0000</updated>
                    <resolved>Fri, 19 Apr 2013 11:10:20 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20050" author="dbu" created="Thu, 18 Apr 2013 14:49:52 +0000"  >&lt;p&gt;expand to have an array of reorderings per parent instead of just one reordering.&lt;/p&gt;</comment>
                    <comment id="20065" author="dbu" created="Fri, 19 Apr 2013 11:10:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/278&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/278&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-11] Expose transaction API</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-11</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;this requires support in PHPCR/Jackalope&lt;/p&gt;</description>
                <environment></environment>
            <key id="12780">PHPCR-11</key>
            <summary>Expose transaction API</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Jul 2011 18:00:27 +0000</created>
                <updated>Sat, 15 Oct 2011 16:13:45 +0000</updated>
                    <resolved>Sat, 15 Oct 2011 16:13:45 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16196" author="dbu" created="Fri, 22 Jul 2011 07:47:54 +0000"  >&lt;p&gt;when you get the phpcr session, you can call getTransactionManager on it and do transactions (its pretty simple). lukas, do you think anything more is needed?&lt;/p&gt;

&lt;p&gt;@jordi: can you give me more rights in this jira so i can assign tickets?&lt;/p&gt;</comment>
                    <comment id="16565" author="lsmith" created="Mon, 10 Oct 2011 09:50:23 +0000"  >&lt;p&gt;can we close this one?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-8] add support for getting node(s) with subnodes at once</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-8</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;this requires support for this in PHPCR/jackalope&lt;/p&gt;</description>
                <environment></environment>
            <key id="12777">PHPCR-8</key>
            <summary>add support for getting node(s) with subnodes at once</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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="2">Won&apos;t Fix</resolution>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Jul 2011 17:56:09 +0000</created>
                <updated>Mon, 10 Oct 2011 09:49:59 +0000</updated>
                    <resolved>Mon, 10 Oct 2011 09:49:59 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16361" author="lsmith" created="Fri, 19 Aug 2011 11:16:51 +0000"  >&lt;p&gt;maybe the only way to support this reasonable is via JOIN&apos;s in queries and getSubNodes()&lt;/p&gt;</comment>
                    <comment id="16564" author="lsmith" created="Mon, 10 Oct 2011 09:49:59 +0000"  >&lt;p&gt;JOINs are indeed the right approach ..&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-5] test with Midgard2 PHPCR</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-5</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;&lt;a href=&quot;https://github.com/bergie/phpcr-midgard2&quot; class=&quot;external-link&quot;&gt;https://github.com/bergie/phpcr-midgard2&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="12774">PHPCR-5</key>
            <summary>test with Midgard2 PHPCR</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Jul 2011 17:51:15 +0000</created>
                <updated>Wed, 28 Dec 2011 23:29:48 +0000</updated>
                    <resolved>Wed, 28 Dec 2011 23:29:48 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-1] children/child annotation add value later</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-1</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;when using the child annotation, it is not possible to assign a child document with a child of its own after persisting the parent document. to reproduce, take the Functional/FileTest.php and change&lt;br/&gt;
        $parent-&amp;gt;file = new File();&lt;br/&gt;
        $parent-&amp;gt;id = &apos;/functional/filetest&apos;;&lt;br/&gt;
        $parent-&amp;gt;file-&amp;gt;setFileContentFromFilesystem(dirname(_&lt;em&gt;FILE&lt;/em&gt;_) .&apos;/_files/foo.txt&apos;);&lt;/p&gt;

&lt;p&gt;        $this-&amp;gt;dm-&amp;gt;persist($parent);&lt;/p&gt;

&lt;p&gt;to &lt;br/&gt;
        $parent-&amp;gt;id = &apos;/functional/filetest&apos;;&lt;br/&gt;
        $this-&amp;gt;dm-&amp;gt;persist($parent);&lt;/p&gt;

&lt;p&gt;        $parent-&amp;gt;file = new File();&lt;br/&gt;
        $parent-&amp;gt;file-&amp;gt;setFileContentFromFilesystem(dirname(_&lt;em&gt;FILE&lt;/em&gt;_) .&apos;/_files/foo.txt&apos;);&lt;/p&gt;

&lt;p&gt;you will get &quot;mandatory child node &lt;/p&gt;
{http://www.jcp.org/jcr/1.0}
&lt;p&gt;content does not exist&quot;&lt;/p&gt;</description>
                <environment></environment>
            <key id="12742">PHPCR-1</key>
            <summary>children/child annotation add value later</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>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Jun 2011 13:28:33 +0000</created>
                <updated>Fri, 22 Jul 2011 07:40:32 +0000</updated>
                    <resolved>Fri, 22 Jul 2011 07:40:32 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16049" author="dbu" created="Thu, 23 Jun 2011 15:21:37 +0000"  >&lt;p&gt;probably related is the issue that updating the normal properties of a child is not stored into phpcr.&lt;/p&gt;</comment>
                    <comment id="16194" author="dbu" created="Fri, 22 Jul 2011 07:40:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/50&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/50&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-2] load document with child annotation</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-2</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;if i did not previously load a document of the class of the child, phpcr-odm can not know the alias to load it. it throws an exception.&lt;/p&gt;

&lt;p&gt;for example, use $this-&amp;gt;documentManager-&amp;gt;find(&apos;My\Class&apos;, &apos;/path/to/document&apos;); where My\Class has an @child annotation for a child that is a File. it has the file alias, but phpcr-odm knows nothing of that alias if i did not previously try to find something with &apos;Doctrine\...\File&apos; that made it load the meta data.&lt;/p&gt;

&lt;p&gt;the workaround is to get the repositories to make phpcr-odm know the alias, but this is no solution.&lt;br/&gt;
$this-&amp;gt;documentManager-&amp;gt;getRepository(&apos;Doctrine\ODM\PHPCR\Document\Resource&apos;);&lt;br/&gt;
$this-&amp;gt;documentManager-&amp;gt;getRepository(&apos;Doctrine\ODM\PHPCR\Document\File&apos;);&lt;/p&gt;


&lt;p&gt;we could add something to specify the document class in the child annotation, but this sounds stupid.&lt;/p&gt;

&lt;p&gt;and getting a document without knowing its document class beforehand would be a nice feature in general. however, the info is currently scattered in annotations over the project. any idea how we could make phpcr-odm know all alias to document class mappings?&lt;/p&gt;</description>
                <environment></environment>
            <key id="12743">PHPCR-2</key>
            <summary>load document with child annotation</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>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Jun 2011 13:54:09 +0000</created>
                <updated>Fri, 24 Jun 2011 13:14:55 +0000</updated>
                    <resolved>Fri, 24 Jun 2011 13:14:55 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16046" author="dbu" created="Thu, 23 Jun 2011 14:15:25 +0000"  >&lt;p&gt;to implement extracting the mapping, assetic:dump might give some inspiration.  in dev mode, we should extract automatically (maybe with some cache lifetime, depending on how expensive that is - its less obvious than what assetic can do)&lt;/p&gt;

&lt;p&gt;it would be something like getAllMetadata in our case, then cache it.&lt;/p&gt;</comment>
                    <comment id="16047" author="dbu" created="Thu, 23 Jun 2011 14:24:12 +0000"  >&lt;p&gt;according to benjamin, mongo-odm uses an attribute targetDocument that is set to the document class, so the annotation seems not such a bad idea after all.&lt;/p&gt;

&lt;p&gt;not sure how to handle a case when we have children with varying document classes, though. but targetDocument would be a start, and cover many common cases.&lt;/p&gt;</comment>
                    <comment id="16048" author="dbu" created="Thu, 23 Jun 2011 14:34:52 +0000"  >&lt;p&gt;after more dicussion with benjamin: in mongo, benjamin does no longer store an alias but directly the document class. we could also do that.&lt;/p&gt;</comment>
                    <comment id="16050" author="uwej711" created="Fri, 24 Jun 2011 07:35:25 +0000"  >&lt;p&gt;As you say this is more an issue with the meta-data handling within the odm. The same issue will apply to references and to parent and children annotations I guess. Storing the class directly and loading the meta-data via the class when needed seems a good solution to me. &lt;/p&gt;</comment>
                    <comment id="16051" author="dbu" created="Fri, 24 Jun 2011 13:14:55 +0000"  >&lt;p&gt;we now store the phpcr:class instead of phpcr:alias. the alias is still supported for legacy.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/45&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/45&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-31] add support for metadata caching</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-31</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description></description>
                <environment></environment>
            <key id="13114">PHPCR-31</key>
            <summary>add support for metadata caching</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Sat, 22 Oct 2011 13:28:20 +0000</created>
                <updated>Wed, 28 Dec 2011 23:28:05 +0000</updated>
                    <resolved>Wed, 28 Dec 2011 23:28:05 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17105" author="ocramius" created="Mon, 26 Dec 2011 17:50:54 +0000"  >&lt;p&gt;For reference, this is being handled at &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/85&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/85&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17128" author="lsmith" created="Wed, 28 Dec 2011 09:49:05 +0000"  >&lt;p&gt;merged&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-19] Code cleanup and refactoring, align to other odm implementations</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-19</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;Refactor the code to share more code with mongodb and other ODM implementations. Can we extract stuff into common base classes or adjust mongo so we can extend from it? The current code is often copy-paste with some small edits all over which makes it hard to update with new features and bugfixes from mongodb.&lt;/p&gt;

&lt;p&gt;Also have a look at the OXM - we probably could profit from collaboration there too, as PHPCR is somewhere between document store and XML database. &lt;a href=&quot;http://www.doctrine-project.org/blog/doctrine-oxm-intro&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/blog/doctrine-oxm-intro&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Implement ObjectManager interface and maybe add to the common interfaces like findMany suitable for us.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12877">PHPCR-19</key>
            <summary>Code cleanup and refactoring, align to other odm implementations</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="seldaek">Jordi Boggiano</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Sat, 30 Jul 2011 12:59:15 +0000</created>
                <updated>Sat, 30 Jul 2011 13:03:05 +0000</updated>
                    <resolved>Sat, 30 Jul 2011 13:03:05 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16235" author="dbu" created="Sat, 30 Jul 2011 13:03:05 +0000"  >&lt;p&gt;this is tracked here &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-28&quot; title=&quot;Extract Common Persistance Interfaces&quot;&gt;DCOM-28&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-83] make the test suite run and pass with Doctrine DBAL</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-83</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;this will likely require some work to disable certain tests relying on features not yet implemented&lt;/p&gt;</description>
                <environment></environment>
            <key id="14157">PHPCR-83</key>
            <summary>make the test suite run and pass with Doctrine DBAL</summary>
                <type id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/task.png">Task</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Oct 2012 14:59:13 +0000</created>
                <updated>Fri, 11 Jan 2013 15:13:59 +0000</updated>
                    <resolved>Fri, 11 Jan 2013 15:13:59 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19274" author="lsmith" created="Thu, 10 Jan 2013 22:20:37 +0000"  >&lt;p&gt;actually already fixed with the latest changes in phpcr-utils&lt;br/&gt;
the issue is that we currently require 1.0-beta3&lt;br/&gt;
&lt;a href=&quot;https://github.com/phpcr/phpcr-utils/compare/1.0-beta3...master#L21R519&quot; class=&quot;external-link&quot;&gt;https://github.com/phpcr/phpcr-utils/compare/1.0-beta3...master#L21R519&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19280" author="lsmith" created="Fri, 11 Jan 2013 15:13:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://travis-ci.org/doctrine/phpcr-odm&quot; class=&quot;external-link&quot;&gt;https://travis-ci.org/doctrine/phpcr-odm&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Reference</name>
                                <outwardlinks description="relates to">
                            <issuelink>
            <issuekey id="13419">PHPCR-47</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-79] metadata type for non-property mappings</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-79</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;(this is a follow up of &lt;a href=&quot;https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle/issues/56&quot; class=&quot;external-link&quot;&gt;https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle/issues/56&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;ClassMetadata::mapField does not automatically assign a type except for the id field. we should add them here to have type information for things like nodename so for example sonata admin (or the symfony form builder?) can use that information to decide on the widget to use.&lt;/p&gt;

&lt;p&gt;open question: is there a natural type mapping for children/parent? should we use MANY_TO_ONE for parent and ONE_TO_MANY for children? or is that a problem as its not arbitrary relations, should we add new types for this?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14008">PHPCR-79</key>
            <summary>metadata type for non-property mappings</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Sep 2012 14:55:26 +0000</created>
                <updated>Mon, 14 Jan 2013 23:13:29 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 23:13:29 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-78] Exception &quot;Can&apos;t remove the protected property: jcr:created&quot; on persist</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-78</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;When a Document contains a reference field (tested with @ReferenceMany(strategy=&quot;hard&quot;), @ReferenceOne(strategy=&quot;hard&quot;)) and a &quot;jcr:created&quot; field in its metadata, then phpcr-odm try to update the protected field (jcr:created) to NULL on persist.&lt;/p&gt;

&lt;p&gt;Jackalope throws the following exception :&lt;/p&gt;

&lt;p&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;PHPCR\NodeType\ConstraintViolationException&amp;#93;&lt;/span&gt;     &lt;br/&gt;
  Can&apos;t remove the protected property: jcr:created&lt;/p&gt;</description>
                <environment>* phpcrodm #fc47314043805c1b8d1e998d534abec75874a8e5&lt;br/&gt;
* jackalope #6de09e160a2d56b34d34e8120a254fbe46892fb7&lt;br/&gt;
* jackalope-jackrabbit #3c4fb61bf0c0664d09ef520683842e6426c033e0</environment>
            <key id="13953">PHPCR-78</key>
            <summary>Exception &quot;Can&apos;t remove the protected property: jcr:created&quot; on persist</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="pitpit">damien pitard</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Aug 2012 09:17:06 +0000</created>
                <updated>Thu, 30 Aug 2012 09:12:46 +0000</updated>
                    <resolved>Thu, 30 Aug 2012 09:12:46 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18550" author="pitpit" created="Tue, 28 Aug 2012 09:17:41 +0000"  >&lt;p&gt;here&apos;s a functional test to reproduce the bug &lt;a href=&quot;https://github.com/pitpit/phpcr-odm/commit/a7e1ba83d78771599181d2dee3c03c5163cf26e7&quot; class=&quot;external-link&quot;&gt;https://github.com/pitpit/phpcr-odm/commit/a7e1ba83d78771599181d2dee3c03c5163cf26e7&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18586" author="lsmith" created="Thu, 30 Aug 2012 09:12:46 +0000"  >&lt;p&gt;fixed by &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/158&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/158&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-52] lazy loading of ReferenceMany fails</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-52</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;When I have a document with ReferenceMany &quot;Links&quot;, Doctrine PHPCR always loads all those referenced documents, even if I just load the main document. This is obviously very bad for performance.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://gist.github.com/1838831&quot; class=&quot;external-link&quot;&gt;https://gist.github.com/1838831&lt;/a&gt;&lt;br/&gt;
is a reproducible use-case. Just ran it twice and you&apos;ll see that in the second run, there is&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;one GET request for the initial documents&lt;/li&gt;
	&lt;li&gt;a REPORT request for every referenced document to resolve the UUID to a path&lt;/li&gt;
	&lt;li&gt;a POST request for multi-get-ing all the referenced documents&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;See also this charles-screenshot &lt;br/&gt;
&lt;a href=&quot;https://img.skitch.com/20120215-8572c4s5mc8gt2da5wjd71512w.jpg&quot; class=&quot;external-link&quot;&gt;https://img.skitch.com/20120215-8572c4s5mc8gt2da5wjd71512w.jpg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have no idea where to look at to fix this, so any help would be very appreciated&lt;/p&gt;</description>
                <environment></environment>
            <key id="13454">PHPCR-52</key>
            <summary>lazy loading of ReferenceMany fails</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="chregu">Christian Stocker</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Feb 2012 20:39:14 +0000</created>
                <updated>Wed, 22 Feb 2012 14:57:38 +0000</updated>
                    <resolved>Wed, 22 Feb 2012 14:57:38 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-53] repository::createDocument is never called</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-53</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;i tried using repositories. see &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/symfony-cmf/ChainRoutingBundle/commit/12515f82b02c4a1ef230b05133ec89e03c1af2e0&quot; class=&quot;external-link&quot;&gt;https://github.com/symfony-cmf/ChainRoutingBundle/commit/12515f82b02c4a1ef230b05133ec89e03c1af2e0&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/symfony-cmf/ChainRoutingBundle/commit/edd9f9544eadedb142fefd3ea9bb0c3b293c59d5&quot; class=&quot;external-link&quot;&gt;https://github.com/symfony-cmf/ChainRoutingBundle/commit/edd9f9544eadedb142fefd3ea9bb0c3b293c59d5&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;however, from looking at the uow code i have the impression that createDocument is never called on DocumentRepository but directly in UOW. shouldn&apos;t the uow fetch the repository and build the document with the repository? effectively moving UOW::createDocument impl. to the base repository?&lt;/p&gt;</description>
                <environment></environment>
            <key id="13459">PHPCR-53</key>
            <summary>repository::createDocument is never called</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Sat, 18 Feb 2012 11:05:47 +0000</created>
                <updated>Wed, 22 Feb 2012 07:51:06 +0000</updated>
                    <resolved>Wed, 22 Feb 2012 07:51:06 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17441" author="lsmith" created="Sat, 18 Feb 2012 11:17:29 +0000"  >&lt;p&gt;none of the other ODM/ORM seem to have a create*() method in the repository. i suspect using a listener is the right approach and we should remove that method from the DocumentRepository.&lt;/p&gt;</comment>
                    <comment id="17477" author="lsmith" created="Wed, 22 Feb 2012 07:51:06 +0000"  >&lt;p&gt;removed the method&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-51] make it possible to add attributes to type mappings</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-51</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;f.e. make it possible to make a string mapped typed translatable inside an inherited class&lt;br/&gt;
this will require modifications to the ClassMetadata class:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php#L578&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php#L578&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="13448">PHPCR-51</key>
            <summary>make it possible to add attributes to type mappings</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Feb 2012 23:39:15 +0000</created>
                <updated>Thu, 16 Feb 2012 16:48:34 +0000</updated>
                    <resolved>Thu, 16 Feb 2012 16:48:34 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17424" author="dbu" created="Tue, 14 Feb 2012 14:56:20 +0000"  >&lt;p&gt;see &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/105&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/105&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17428" author="lsmith" created="Thu, 16 Feb 2012 16:48:34 +0000"  >&lt;p&gt;fixed with 115f1961600e6cd4fedbec30f1c7590a4d375d57&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-50] fix handling of children on update</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-50</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;right now we do not check if individual elements in the collection have been added or removed. furthermore since we can now update the order of children in jackalope, we can implement this in collection persistence as well.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13447">PHPCR-50</key>
            <summary>fix handling of children on update</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Feb 2012 23:37:57 +0000</created>
                <updated>Thu, 12 Apr 2012 20:40:12 +0000</updated>
                    <resolved>Thu, 12 Apr 2012 20:40:12 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17427" author="lsmith" created="Wed, 15 Feb 2012 22:32:23 +0000"  >&lt;p&gt;some initial work&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/commit/a2dc3bc827ded1f54c7bd4708c4e495935ad39e5&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/commit/a2dc3bc827ded1f54c7bd4708c4e495935ad39e5&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17837" author="lsmith" created="Tue, 10 Apr 2012 08:55:31 +0000"  >&lt;p&gt;adding/removing is now implemented, reordering is still missing (see &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/tree/children_updating&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/tree/children_updating&lt;/a&gt;)&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-49] rewrite DocumentRepository::createQuery() to use QOM</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-49</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/DocumentRepository.php#L253&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/DocumentRepository.php#L253&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="13427">PHPCR-49</key>
            <summary>rewrite DocumentRepository::createQuery() to use QOM</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Feb 2012 17:31:19 +0000</created>
                <updated>Fri, 10 Feb 2012 17:46:43 +0000</updated>
                    <resolved>Fri, 10 Feb 2012 17:46:43 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-47] make it possible to disable exceptions for phpcr implementations without versioning support</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-47</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;so method calls to checkPoint() etc shouldn&apos;t fail. full versioning should just set referenceable etc.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13419">PHPCR-47</key>
            <summary>make it possible to disable exceptions for phpcr implementations without versioning support</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Feb 2012 13:52:19 +0000</created>
                <updated>Wed, 14 Nov 2012 10:49:45 +0000</updated>
                    <resolved>Wed, 14 Nov 2012 10:49:45 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18984" author="lsmith" created="Wed, 14 Nov 2012 10:49:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/188&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/188&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Reference</name>
                                                <inwardlinks description="is referenced by">
                            <issuelink>
            <issuekey id="14157">PHPCR-83</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-42] sync the xml/yml mapping driver with the annotation driver</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-42</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;especially the locale/version stuff is not yet supported. but also the reference mapping seems to look quite different.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13388">PHPCR-42</key>
            <summary>sync the xml/yml mapping driver with the annotation driver</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Jan 2012 16:37:55 +0000</created>
                <updated>Fri, 17 Aug 2012 08:17:16 +0000</updated>
                    <resolved>Fri, 17 Aug 2012 08:17:16 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="17361" author="dbu" created="Thu, 2 Feb 2012 09:32:06 +0000"  >&lt;p&gt;versioning is done now: &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/96&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/96&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;but we miss tests for the non-annotation mappings&lt;/p&gt;</comment>
                    <comment id="17375" author="dbu" created="Tue, 7 Feb 2012 07:53:27 +0000"  >&lt;p&gt;how to proceed:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Refactor the tests about mapping to have abstract base tests to assert things, and one test for each annotation/yml/xml/php so we really test the same outcome &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/tree/master/tests/Doctrine/Tests/ODM/PHPCR/Mapping&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/tree/master/tests/Doctrine/Tests/ODM/PHPCR/Mapping&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Check with code coverage of &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/Mapping/Driver/AnnotationDriver.php&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/Mapping/Driver/AnnotationDriver.php&lt;/a&gt; and &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php&lt;/a&gt; if everything is covered&lt;/li&gt;
	&lt;li&gt;Fix missing annotations&lt;/li&gt;
	&lt;li&gt;Also test invalid metadata values or combinations - they should throw the same errors with all mappings&lt;/li&gt;
	&lt;li&gt;Check the documentation for meta data in the readme. add some note about xml/yml/php format (but do not repeat the doc, just explain the differences)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    <comment id="17419" author="dbu" created="Mon, 13 Feb 2012 14:37:57 +0000"  >&lt;p&gt;initial test for annotations is added here, please evolve from this&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/commit/38f8bbc8b655aafd099287e18401248c44b40492&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/commit/38f8bbc8b655aafd099287e18401248c44b40492&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17847" author="cordoval" created="Sun, 15 Apr 2012 01:12:27 +0000"  >&lt;p&gt;hi dbu, lsmith, i gave thought to this and did some corrections &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/133&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/133&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;however I am totally disoriented as i see two Mapping folders as follows:&lt;/p&gt;

&lt;p&gt;1. &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/tree/master/tests/Doctrine/Tests/ODM/PHPCR/Functional/Mapping&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/tree/master/tests/Doctrine/Tests/ODM/PHPCR/Functional/Mapping&lt;/a&gt;&lt;br/&gt;
There is only 1 class here with a TODO which i found not very clear about what to do next&lt;/p&gt;

&lt;p&gt;2. &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/tree/master/tests/Doctrine/Tests/ODM/PHPCR/Mapping&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/tree/master/tests/Doctrine/Tests/ODM/PHPCR/Mapping&lt;/a&gt;&lt;br/&gt;
These set of classes was already refactored by someone else before I came in and I guess the work is done&lt;/p&gt;

&lt;p&gt;I check the coverage as you said on the annotation driver class so it basically lacks the lifecycle callbacks usage, but where to put these tests in as i am confused&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;font color=&quot;red&quot;&gt; &lt;br/&gt;
     160               0 :                     if ($annot instanceof ODM\PrePersist) {                                                          
     161               0 :                         $metadata-&amp;gt;addLifecycleCallback($method-&amp;gt;getName(), Event::prePersist);                      
     162               0 :                     } elseif ($annot instanceof  ODM\PostPersist) {                                                  
     163               0 :                         $metadata-&amp;gt;addLifecycleCallback($method-&amp;gt;getName(), Event::postPersist);                     
     164               0 :                     } elseif ($annot instanceof ODM\PreUpdate) {                                                     
     165               0 :                         $metadata-&amp;gt;addLifecycleCallback($method-&amp;gt;getName(), Event::preUpdate);                       
     166               0 :                     } elseif ($annot instanceof ODM\PostUpdate) {                                                    
     167               0 :                         $metadata-&amp;gt;addLifecycleCallback($method-&amp;gt;getName(), Event::postUpdate);                      
     168               0 :                     } elseif ($annot instanceof ODM\PreRemove) {                                                     
     169               0 :                         $metadata-&amp;gt;addLifecycleCallback($method-&amp;gt;getName(), Event::preRemove);                       
     170               0 :                     } elseif ($annot instanceof ODM\PostRemove) {                                                    
     171               0 :                         $metadata-&amp;gt;addLifecycleCallback($method-&amp;gt;getName(), Event::postRemove);                      
     172               0 :                     } elseif ($annot instanceof  ODM\PostLoad) {                                                     
     173               0 :                         $metadata-&amp;gt;addLifecycleCallback($method-&amp;gt;getName(), Event::postLoad);                        
     174               0 :                     }                                                                                                &lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Also i am not very familiar with the schema of the annotation driver how to test so any explanation or help pointers would be great, thanks&lt;/p&gt;</comment>
                    <comment id="17848" author="cordoval" created="Sun, 15 Apr 2012 01:16:23 +0000"  >&lt;p&gt;I am so not using jira sorry guys, ---&amp;gt; &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/133&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/133&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18073" author="dbu" created="Sat, 9 Jun 2012 20:23:22 +0000"  >&lt;p&gt;@craigmarvelley started working on this, promised a pull request soon&lt;/p&gt;</comment>
                    <comment id="18080" author="craigmarvelley" created="Mon, 11 Jun 2012 21:01:17 +0000"  >&lt;p&gt;I&apos;ve opened a PR here, there&apos;s still a bit left to be done that I&apos;m hoping to add in the next few days.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/144&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/144&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18102" author="dbu" created="Wed, 20 Jun 2012 12:03:25 +0000"  >&lt;p&gt;the pull request by craig has meanwhile been merged.&lt;/p&gt;

&lt;p&gt;there is still a bit of issues:&lt;/p&gt;

&lt;p&gt;the driver looks for the non-namespaced file. i.e. No mapping file found named &apos;/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/routing-extra-bundle/Symfony/Cmf/Bundle/RoutingExtraBundle/Resources/config/doctrine/Route.phpcr.xml&apos; for class &apos;Symfony\Cmf\Bundle\RoutingExtraBundle\Document\Route&apos;.&lt;/p&gt;

&lt;p&gt;but if i put that file there and have an error, he tells me Invalid mapping file &apos;Symfony.Cmf.Bundle.RoutingExtraBundle.Document.Route.phpcr.xml&apos;&lt;/p&gt;

&lt;p&gt;so the name determiner seems to be off a bit&lt;/p&gt;</comment>
                    <comment id="18335" author="dbu" created="Wed, 18 Jul 2012 22:08:39 +0000"  >&lt;p&gt;also, the mapped superclass feature makes no sense with phpcr-odm, we can simply inherit from document classes.&lt;/p&gt;</comment>
                    <comment id="18354" author="dbu" created="Fri, 20 Jul 2012 07:55:29 +0000"  >&lt;p&gt;actually mapped superclass seems to be relevant, but i did not yet understand it and the doc about it should be updated. see discussion in &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/144#issuecomment-7095570&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/144#issuecomment-7095570&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18523" author="lsmith" created="Fri, 17 Aug 2012 08:17:16 +0000"  >&lt;p&gt;seems to me like reference/referrer/translation/versioning is all done .. so if there is anything left .. please open a new ticket&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-37] update for latest doctrine common features</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-37</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;see&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/common/pull/71&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/71&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/75&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/75&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/83&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/83&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/commit/07d2f04408534f0870d9873a420e294a4b0db439&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/07d2f04408534f0870d9873a420e294a4b0db439&lt;/a&gt; (done)&lt;/p&gt;

&lt;p&gt;as well as &lt;a href=&quot;https://github.com/doctrine/couchdb-odm/commit/56f4ce911c9fd7cf32547a9d454141f250c9de54&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/couchdb-odm/commit/56f4ce911c9fd7cf32547a9d454141f250c9de54&lt;/a&gt; (done)&lt;/p&gt;</description>
                <environment></environment>
            <key id="13267">PHPCR-37</key>
            <summary>update for latest doctrine common features</summary>
                <type id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/task.png">Task</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>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Dec 2011 16:47:17 +0000</created>
                <updated>Wed, 28 Dec 2011 23:28:15 +0000</updated>
                    <resolved>Wed, 28 Dec 2011 23:28:15 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17093" author="lsmith" created="Thu, 22 Dec 2011 22:18:05 +0000"  >&lt;p&gt;some steps already done by &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/84&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/84&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17097" author="ocramius" created="Fri, 23 Dec 2011 21:08:46 +0000"  >&lt;p&gt;Will start working on it tomorrow &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="17102" author="ocramius" created="Sun, 25 Dec 2011 05:08:11 +0000"  >&lt;p&gt;I started work here &lt;a href=&quot;https://github.com/Ocramius/phpcr-odm/compare/sync-doctrine-common-metadata-changes&quot; class=&quot;external-link&quot;&gt;https://github.com/Ocramius/phpcr-odm/compare/sync-doctrine-common-metadata-changes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please notice that I removed a public method (loadMetadataForAlias, I think) from the ClassMetadataFactory.&lt;/p&gt;

&lt;p&gt;Also, I&apos;d love to have some help in understanding what Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory#doLoadMetadata($class, $parent, $rootEntityFound) should look like when implemented. &lt;/p&gt;</comment>
                    <comment id="17104" author="ocramius" created="Mon, 26 Dec 2011 17:50:42 +0000"  >&lt;p&gt;For reference, this is being handled at &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/85&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/85&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17127" author="lsmith" created="Wed, 28 Dec 2011 09:48:52 +0000"  >&lt;p&gt;merged&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-35] referenced documents need to be referenceable</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-35</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;currently documents referenced need to have referenceable=true in their document annotation, otherwise the @ReferenceOne silently fails. (see also &lt;a href=&quot;https://github.com/symfony-cmf/cmf-sandbox/pull/29&quot; class=&quot;external-link&quot;&gt;https://github.com/symfony-cmf/cmf-sandbox/pull/29&lt;/a&gt; )&lt;/p&gt;

&lt;p&gt;either phpcr-odm should complain. or it could just add the mix:referenceable to the target document even though it was not declared referenceable.&lt;br/&gt;
we could additionally make referenceable=true the default and offer explicit referenceable=false for optimization.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13186">PHPCR-35</key>
            <summary>referenced documents need to be referenceable</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Nov 2011 06:28:19 +0000</created>
                <updated>Wed, 28 Dec 2011 23:31:59 +0000</updated>
                    <resolved>Wed, 28 Dec 2011 23:31:59 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16835" author="uwej711" created="Tue, 15 Nov 2011 13:15:43 +0000"  >&lt;p&gt;I will cover the first part for now, let phpcr -odm complain ...&lt;/p&gt;</comment>
                    <comment id="16841" author="uwej711" created="Tue, 15 Nov 2011 20:46:40 +0000"  >&lt;p&gt;This fixed now, but I can&apos;t close that issue ...&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-34] replacing a document fails</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-34</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;when we have a saved document and remove that, then add a document at the same path without a flush in between, we get an exception. the reason is that persist already adds the phpcr node, but scheduleRemove does not remove the phpcrnode right away.&lt;/p&gt;

&lt;p&gt;the fix looks like it should be:&lt;br/&gt;
UnitOfWork.php 504 remove phpcr node - 1022 do not remove here as it was removed before.&lt;/p&gt;

&lt;p&gt;but this leads to a problem that is either in jackalope or the phpcr-odm about /functional/user/phpcr:class being not found.&lt;/p&gt;


&lt;p&gt;1) Doctrine\Tests\ODM\PHPCR\Functional\BasicCrudTest::testRemoveAndInsert&lt;br/&gt;
PHPCR\ItemExistsException: This node already has a child named user.&lt;/p&gt;

&lt;p&gt;/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/vendor/jackalope/src/Jackalope/Node.php:303&lt;br/&gt;
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php:763&lt;br/&gt;
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php:404&lt;br/&gt;
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php:386&lt;br/&gt;
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/Doctrine/ODM/PHPCR/DocumentManager.php:312&lt;br/&gt;
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/tests/Doctrine/Tests/ODM/PHPCR/Functional/BasicCrudTest.php:152&lt;/p&gt;
</description>
                <environment></environment>
            <key id="13183">PHPCR-34</key>
            <summary>replacing a document fails</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>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Sun, 13 Nov 2011 21:13:08 +0000</created>
                <updated>Wed, 22 Feb 2012 15:03:39 +0000</updated>
                    <resolved>Wed, 22 Feb 2012 15:03:39 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16850" author="lsmith" created="Thu, 17 Nov 2011 09:45:49 +0000"  >&lt;p&gt;imho this is now fixed. it will throw an \InvalidArgumentException that the document is detached. I have added relevant tests.&lt;/p&gt;

&lt;p&gt;i have also created a ticket to add something to the persistence interfaces to make it possible to ensure that a node is cleared back to defaults for all fields not being persisted: &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-77&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DCOM-77&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17329" author="dbu" created="Mon, 23 Jan 2012 16:16:39 +0000"  >&lt;p&gt;i still have a problem with this. doing &lt;/p&gt;

&lt;p&gt;        if ($old_node = $this-&amp;gt;dm-&amp;gt;find(null, $path)) &lt;/p&gt;
{
            $this-&amp;gt;dm-&amp;gt;remove($old_node);
        }

&lt;p&gt;        $menuitem = new MultilangMenuItem();&lt;br/&gt;
        $menuitem-&amp;gt;setPath($path);&lt;br/&gt;
        $menuitem-&amp;gt;setName($name);&lt;br/&gt;
        $menuitem-&amp;gt;setLabel($label);&lt;/p&gt;

&lt;p&gt;        $this-&amp;gt;dm-&amp;gt;persist($menuitem);&lt;br/&gt;
        return $menuitem;&lt;/p&gt;

&lt;p&gt;leads to an exception. but imo i should be able to do this? what if i want to change the type of document at this location?&lt;/p&gt;

&lt;p&gt;InvalidArgumentException&lt;br/&gt;
  Detached document passed to persist().  &lt;/p&gt;



&lt;p&gt;Exception trace:&lt;br/&gt;
 () at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php:444&lt;br/&gt;
 Doctrine\ODM\PHPCR\UnitOfWork-&amp;gt;doScheduleInsert() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php:414&lt;br/&gt;
 Doctrine\ODM\PHPCR\UnitOfWork-&amp;gt;scheduleInsert() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/Doctrine/ODM/PHPCR/DocumentManager.php:447&lt;br/&gt;
 Doctrine\ODM\PHPCR\DocumentManager-&amp;gt;persist() at /home/david/liip/symfony-cmf/cmf-sandbox/src/Sandbox/MainBundle/Resources/data/fixtures/030_LoadMenuData.php:90&lt;br/&gt;
 Symfony\Cmf\Bundle\MenuBundle\Resources\data\fixtures\LoadMenuData-&amp;gt;createMenuItem() at /home/david/liip/symfony-cmf/cmf-sandbox/src/Sandbox/MainBundle/Resources/data/fixtures/030_LoadMenuData.php:43&lt;br/&gt;
 Symfony\Cmf\Bundle\MenuBundle\Resources\data\fixtures\LoadMenuData-&amp;gt;load() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/doctrine-data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/AbstractExecutor.php:94&lt;br/&gt;
 Doctrine\Common\DataFixtures\Executor\AbstractExecutor-&amp;gt;load() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/doctrine-data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/PHPCRExecutor.php:55&lt;br/&gt;
 Doctrine\Common\DataFixtures\Executor\PHPCRExecutor-&amp;gt;execute() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/bundles/Doctrine/Bundle/PHPCRBundle/Command/LoadFixtureCommand.php:86&lt;br/&gt;
 Doctrine\Bundle\PHPCRBundle\Command\LoadFixtureCommand-&amp;gt;execute() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony/src/Symfony/Component/Console/Command/Command.php:237&lt;br/&gt;
 Symfony\Component\Console\Command\Command-&amp;gt;run() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony/src/Symfony/Component/Console/Application.php:193&lt;br/&gt;
 Symfony\Component\Console\Application-&amp;gt;doRun() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:75&lt;br/&gt;
 Symfony\Bundle\FrameworkBundle\Console\Application-&amp;gt;doRun() at /home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony/src/Symfony/Component/Console/Application.php:106&lt;br/&gt;
 Symfony\Component\Console\Application-&amp;gt;run() at /home/david/liip/symfony-cmf/cmf-sandbox/app/console:16&lt;/p&gt;</comment>
                    <comment id="17363" author="lsmith" created="Thu, 2 Feb 2012 20:41:10 +0000"  >&lt;p&gt;I guess this is related to adding DocumentManager::merge()&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/PHPCR-13&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/PHPCR-13&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17482" author="lsmith" created="Wed, 22 Feb 2012 15:03:39 +0000"  >&lt;p&gt;duplicate of &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/PHPCR-13&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/PHPCR-13&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-69] persist referrers</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-69</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;phpcr knows reference and referrer (backlink). the reference is a property of a node with a defined name. the referrer is an information on the node without a property name in PHPCR. we have the annotation @Referrers to map this information onto a document field. the annotation can take an optional filter argument to only use references pointing to this node with a specific phpcr name.&lt;/p&gt;

&lt;p&gt;we could add something like the cascade option found in the orm to allow assigning a document to a referrer property and automatically persist it. we will need to explicitly specify the reference property name to be used on the source document in this case (orm uses mappedBy for this)&lt;/p&gt;


&lt;p&gt;github user mdekrijger started working on this. today, he wrote: Adding the annotations was quite easy, still figuring out the unitofwork where the actual processing must be implemented. Currently I can&apos;t spend much more time on it until end of june. If it isn&apos;t done yet by that time, I surely will pick it up from there.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13753">PHPCR-69</key>
            <summary>persist referrers</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Jun 2012 10:31:24 +0000</created>
                <updated>Fri, 11 Jan 2013 08:53:40 +0000</updated>
                    <resolved>Fri, 11 Jan 2013 08:53:40 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18147" author="mdekrijger" created="Wed, 27 Jun 2012 07:17:27 +0000"  >&lt;p&gt;Could someone assign this to me? If not I will just comment this issue when new info is available&lt;/p&gt;</comment>
                    <comment id="18590" author="lsmith" created="Thu, 30 Aug 2012 14:29:22 +0000"  >&lt;p&gt;hmm .. bah i guess its not possible to assign the ticket for you unless someone upgrades your account for which i dont have the permissions .. so just keep commenting i guess&lt;/p&gt;</comment>
                    <comment id="19269" author="lsmith" created="Wed, 9 Jan 2013 23:38:46 +0000"  >&lt;p&gt;i guess this is now fixed?&lt;/p&gt;</comment>
                    <comment id="19270" author="dbu" created="Thu, 10 Jan 2013 11:49:56 +0000"  >&lt;p&gt;yes, i think so. you implemented that with the cascading configuration options, didn&apos;t you?&lt;/p&gt;</comment>
                    <comment id="19278" author="lsmith" created="Fri, 11 Jan 2013 08:53:40 +0000"  >&lt;p&gt;yes .. referrer changes are cascaded with control over the cascading&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-70] ContentDocument Relationships returning NULL in Action</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-70</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;So i have 2 Documents:&lt;/p&gt;

&lt;p&gt;Page: &lt;a href=&quot;http://pastebin.com/b5X32JPc&quot; class=&quot;external-link&quot;&gt;http://pastebin.com/b5X32JPc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Category: &lt;a href=&quot;http://pastebin.com/A1gB6kyg&quot; class=&quot;external-link&quot;&gt;http://pastebin.com/A1gB6kyg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A Category has many pages.&lt;/p&gt;

&lt;p&gt;Now here&apos;s my (test) action: &lt;a href=&quot;http://pastebin.com/ypjxqZPu&quot; class=&quot;external-link&quot;&gt;http://pastebin.com/ypjxqZPu&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see, $contentDocument is a page in this case. If i call $contentDocument-&amp;gt;category i get back &quot;null&quot;.&lt;/p&gt;

&lt;p&gt;If however i tell the document manager to fetch the Page document by it&apos;s path, then $contentDocument-&amp;gt;category will work...&lt;/p&gt;

&lt;p&gt;Our conclusion is that if you take the $contentDocument that is passed to your action, and you try to fetch it&apos;s ParentDocument inside the action (mapped to a property) you always get null.&lt;br/&gt;
However, what is very weird, is that inside twig it works (page.category would work in twig but page-&amp;gt;category would return null inside the action, before the twig render)&lt;/p&gt;</description>
                <environment></environment>
            <key id="13758">PHPCR-70</key>
            <summary>ContentDocument Relationships returning NULL in Action</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="freddyh">Freddy H.</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Jun 2012 20:55:15 +0000</created>
                <updated>Sat, 21 Jul 2012 14:26:04 +0000</updated>
                    <resolved>Sat, 21 Jul 2012 14:26:04 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18046" author="dbu" created="Wed, 6 Jun 2012 21:32:21 +0000"  >&lt;p&gt;this might be a bug of combining reference with parent.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;23:06&amp;#93;&lt;/span&gt; &amp;lt;dbu&amp;gt; look at vendor/doctrine/phpcr-odm/tests/Doctrine/Tests/ODM/PHPCR/Functional/HierarchyTest.php&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;23:07&amp;#93;&lt;/span&gt; &amp;lt;dbu&amp;gt; and create a new test that tries to load node C, follow its reference to node B and check if its parent A is not null&lt;/p&gt;</comment>
                    <comment id="18362" author="lsmith" created="Sat, 21 Jul 2012 13:21:56 +0000"  >&lt;p&gt;i have managed to reproduce the bug .. i am looking into fixing it now.&lt;/p&gt;</comment>
                    <comment id="18363" author="lsmith" created="Sat, 21 Jul 2012 14:26:04 +0000"  >&lt;p&gt;fixed in master&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-62] avoid dereferencing proxies on save</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-62</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;chregu found in a large project that the odm seems to resolve all unresolved proxy documents during flush, even if the @ReferenceMany or @Referrer was not touched by the code.&lt;/p&gt;

&lt;p&gt;we should make sure this does not happen.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13615">PHPCR-62</key>
            <summary>avoid dereferencing proxies on save</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Apr 2012 12:17:02 +0000</created>
                <updated>Tue, 10 Apr 2012 08:47:37 +0000</updated>
                    <resolved>Tue, 10 Apr 2012 08:47:37 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-90] referrer delete and cascade delete</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-90</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;currently, removing an entry from the referrer collection has no effect, nothing is deleted.&lt;/p&gt;

&lt;p&gt;without cascading, we should delete the value from the referencing property (needs the filter(mappedBy) attribute again), with cascading we should delete the referencing document.&lt;/p&gt;

&lt;p&gt;see also &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/234&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/234&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14496">PHPCR-90</key>
            <summary>referrer delete and cascade delete</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="dbu">David Buchmann</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Feb 2013 12:14:35 +0000</created>
                <updated>Tue, 12 Mar 2013 17:04:17 +0000</updated>
                    <resolved>Tue, 12 Mar 2013 17:04:17 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19568" author="dbu" created="Tue, 19 Feb 2013 12:21:59 +0000"  >&lt;p&gt;adding something to the referrers collection is also not taken into account atm.&lt;/p&gt;</comment>
                    <comment id="19836" author="dbu" created="Tue, 12 Mar 2013 17:04:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/252&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/252&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-107] Support for -&gt;sameNode type queries in QueryBuilder/ExpressionBuilder</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-107</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;We should support sameNode operator of the QOMFactory in the QueryBuilder.&lt;/p&gt;

&lt;p&gt;An example using the PHPCR QB from the DoctrinePHPCRAdminBundle:&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;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unable to find source-code formatter for language: php.&lt;/span&gt; Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml&lt;/div&gt;&lt;pre&gt;
        $qb = $queryProxy-&amp;gt;getQueryBuilder();
        $qmf = $qb-&amp;gt;getQOMFactory();

        $constraint = &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;;
        foreach ($idx as $id) {
            $path = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;getBackendId($id);
            $condition = $qmf-&amp;gt;sameNode($path);
            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($constraint) {
                $constraint = $qmf-&amp;gt;orConstraint($constraint, $condition);
            } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
                $constraint = $condition;
            }
        }
        $qb-&amp;gt;andWhere($constraint);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="14795">PHPCR-107</key>
            <summary>Support for -&gt;sameNode type queries in QueryBuilder/ExpressionBuilder</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="dantleech">Daniel Leech</reporter>
                        <labels>
                        <label>1.0</label>
                    </labels>
                <created>Sat, 20 Apr 2013 20:06:24 +0000</created>
                <updated>Thu, 25 Apr 2013 16:40:07 +0000</updated>
                    <resolved>Thu, 25 Apr 2013 16:40:07 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20105" author="dantleech" created="Thu, 25 Apr 2013 16:40:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/280&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/280&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-28] figure out proper handling of types in DocumentManager::quote()</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-28</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description></description>
                <environment></environment>
            <key id="13072">PHPCR-28</key>
            <summary>figure out proper handling of types in DocumentManager::quote()</summary>
                <type id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/task.png">Task</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="seldaek">Jordi Boggiano</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Oct 2011 09:52:27 +0000</created>
                <updated>Wed, 22 Feb 2012 14:58:03 +0000</updated>
                    <resolved>Wed, 22 Feb 2012 14:58:03 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-13] Implement DocumentManager::merge()</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-13</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description></description>
                <environment></environment>
            <key id="12870">PHPCR-13</key>
            <summary>Implement DocumentManager::merge()</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Sat, 30 Jul 2011 10:40:35 +0000</created>
                <updated>Wed, 9 Jan 2013 14:34:17 +0000</updated>
                    <resolved>Wed, 9 Jan 2013 14:34:17 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18865" author="dbu" created="Mon, 22 Oct 2012 14:31:16 +0000"  >&lt;p&gt;see also &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/184&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/184&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19214" author="lsmith" created="Fri, 4 Jan 2013 17:22:31 +0000"  >&lt;p&gt;see also &lt;a href=&quot;https://github.com/doctrine/phpcr-odm/pull/205&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/pull/205&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19265" author="lsmith" created="Wed, 9 Jan 2013 14:34:17 +0000"  >&lt;p&gt;205 was merged ..&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-55] Add mapping for maps/associative arrays</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-55</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;Add a mapping for maps or arrays. Either implement as child node or serialize the array to a string. The first approach needs another node being fetched from the repository but allows to search the array.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13473">PHPCR-55</key>
            <summary>Add mapping for maps/associative arrays</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</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="lsmith">Lukas Kahwe</assignee>
                                <reporter username="uwej711">Uwe J&#228;ger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Feb 2012 12:52:24 +0000</created>
                <updated>Sun, 26 Feb 2012 16:37:36 +0000</updated>
                    <resolved>Sun, 26 Feb 2012 16:37:36 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17484" author="uwej711" created="Sun, 26 Feb 2012 16:37:36 +0000"  >&lt;p&gt;see issue #&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/PHPCR-56&quot; title=&quot;Support Hashmaps in fields&quot;&gt;&lt;del&gt;PHPCR-56&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-72] persist cancels move</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-72</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;If i have a node that i fetch from the repo using $dm-&amp;gt;find()&lt;/p&gt;

&lt;p&gt;If i change an attribute in it.&lt;br/&gt;
Then i call $dm-&amp;gt;move() on it&lt;/p&gt;

&lt;p&gt;Then i call $dm-&amp;gt;flush().&lt;/p&gt;

&lt;p&gt;It will work.&lt;/p&gt;

&lt;p&gt;However if i call $dm-&amp;gt;persist() on the node (that i already fetched from $dm-&amp;gt;find()) and then call $dm-&amp;gt;flush()&lt;br/&gt;
The $dm-&amp;gt;move() won&apos;t occur, it will be cancelled, but the attribute i changed will still be updated.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13787">PHPCR-72</key>
            <summary>persist cancels move</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="freddyh">Freddy H.</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Jun 2012 15:43:52 +0000</created>
                <updated>Sat, 21 Jul 2012 07:54:08 +0000</updated>
                    <resolved>Sat, 21 Jul 2012 07:54:08 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18360" author="lsmith" created="Fri, 20 Jul 2012 21:15:18 +0000"  >&lt;p&gt;i have to think about if this is a bug or a feature.&lt;br/&gt;
its certainly useful to have a way to &quot;cancel&quot; operations ..&lt;br/&gt;
f.e. persist() also cancels remove()&lt;/p&gt;

&lt;p&gt;then again persist() is i guess viewed by many as a non problematic operation since it commonly doesn&apos;t break anything if one persisted an object multiple times.&lt;/p&gt;</comment>
                    <comment id="18361" author="lsmith" created="Sat, 21 Jul 2012 07:54:08 +0000"  >&lt;p&gt;as i expected this is an intentional feature:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/UnitOfWork.php#L518&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/UnitOfWork.php#L518&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;we could think about adding a dedicated method to &quot;reset&quot; the state, but the ORM doesn&apos;t have something like that so i rather not introduce it.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-68] Versionable Item completely loses references</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-68</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;I have a post that has a reference to a subcategory&lt;/p&gt;

&lt;p&gt;When i made my post versionable=&quot;full&quot;, the current and old versions of post lost this reference.&lt;/p&gt;

&lt;p&gt;So when i call $post-&amp;gt;subcategory i get back a Generic ODM document instead of a Subcategory Document&lt;/p&gt;

&lt;p&gt;I know that relationships are not versionable, but relationships should at least still exist.&lt;/p&gt;

&lt;p&gt;The workaround is to get the parent path and make a JCR-SQL2 query to fetch the subcategory document.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13749">PHPCR-68</key>
            <summary>Versionable Item completely loses references</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="5">Cannot Reproduce</resolution>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="freddyh">Freddy H.</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Jun 2012 14:04:15 +0000</created>
                <updated>Sun, 22 Jul 2012 19:29:02 +0000</updated>
                    <resolved>Sun, 22 Jul 2012 19:29:02 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18035" author="dbu" created="Fri, 1 Jun 2012 14:06:02 +0000"  >&lt;p&gt;note that this could also be a problem in jackalope. we seem to have issues with the frozenNode thing (either in the implementation or in the correct understanding) &lt;a href=&quot;https://github.com/jackalope/jackalope-jackrabbit/issues/19&quot; class=&quot;external-link&quot;&gt;https://github.com/jackalope/jackalope-jackrabbit/issues/19&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18364" author="lsmith" created="Sun, 22 Jul 2012 19:29:02 +0000"  >&lt;p&gt;please reopen once you have a reproduceable test case, thx&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[PHPCR-67] Fetching a node beforehand ruins ordering of collections</title>
                <link>http://www.doctrine-project.org/jira/browse/PHPCR-67</link>
                <project id="10060" key="PHPCR">Doctrine PHPCR</project>
                        <description>&lt;p&gt;Two documents: Category and Subcategory&lt;br/&gt;
Category has $subcategories as a PHPCRODM\Children&lt;/p&gt;

&lt;p&gt;If Category A has 3 subcategories B1 B2 B3.&lt;/p&gt;

&lt;p&gt;If A&apos;s subcategories are fetched we would receive them in the following order: B1 B2 B3.&lt;/p&gt;

&lt;p&gt;Now if however we fetched the B2 node using the DocumentManager at an earlier line and then fetched the subcategories of A, we would receive them in the following order:&lt;br/&gt;
B2 B1 B3&lt;/p&gt;</description>
                <environment></environment>
            <key id="13727">PHPCR-67</key>
            <summary>Fetching a node beforehand ruins ordering of collections</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="lsmith">Lukas Kahwe</assignee>
                                <reporter username="freddyh">Freddy H.</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 May 2012 15:45:21 +0000</created>
                <updated>Sun, 22 Jul 2012 19:24:30 +0000</updated>
                    <resolved>Sun, 22 Jul 2012 19:24:30 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18081" author="lsmith" created="Tue, 12 Jun 2012 07:39:52 +0000"  >&lt;p&gt;i tried to reproduce the issue in a test case:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/phpcr-odm/commit/7a3f690cd407f5fc75af4ae3d70b4360c5a499c7&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/phpcr-odm/commit/7a3f690cd407f5fc75af4ae3d70b4360c5a499c7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;however the test passes. so either the issue is already fixed or i just didn&apos;t understand the bug description properly.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>