Hello
I'm having a problem with the Tree extension. I can configure the TreeRoot fields in skipper but when I try to export to Doctrine, it is ignored.
I can export the TreeLeft, TreeLevel, TreeParent and TreeRight without problems.
Here is my entity configuration (I'm working with uuid as PRIMARY KEY) :
Thanks
<entity name="\ApiBundle\Entity\Category" local-name="Category" namespace="\ApiBundle\Entity" uuid="06669181-8205-4b93-b860-9de218b468b5">
<field name="id" type="uuid" required="true" primary="true" uuid="7e9b4159-89a2-4e14-8b1a-1ad445174df2">
<orm-attributes>
<attribute name="generator">
<attribute name="strategy">CUSTOM</attribute>
</attribute>
<attribute name="custom-id-generator">
<attribute name="class">Ramsey\Uuid\Doctrine\UuidGenerator</attribute>
</attribute>
</orm-attributes>
</field>
<field name="createdAt" type="datetime" required="true" uuid="dbb607be-4e05-4d25-9a54-060b4f290f7d">
<orm-attributes>
<attribute name="column-definition">TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP</attribute>
</orm-attributes>
</field>
<field name="updatedAt" type="datetime" required="true" uuid="267af731-a6b2-496e-a459-1888a01776af">
<orm-attributes>
<attribute name="column-definition">TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP</attribute>
</orm-attributes>
</field>
<field name="title" type="string" size="700" required="true" uuid="5ee776fd-ef40-45b3-952e-db86eb8851e2"/>
<field name="slug" type="string" size="700" uuid="6538fa63-5688-49c4-b865-8b2a144bf3ba"/>
<field name="parentId" type="uuid" uuid="faeb230a-0b2e-4079-8ada-295e4657404a"/>
<field name="left" type="integer" uuid="993c31b5-8854-4944-8f98-d3b0654731c7">
<orm-attributes>
<attribute name="column">`left`</attribute>
</orm-attributes>
</field>
<field name="level" type="integer" uuid="7de9d007-ddd9-40b8-a12c-0c54fd6bdd4a">
<orm-attributes>
<attribute name="column">`level`</attribute>
</orm-attributes>
</field>
<field name="right" type="integer" uuid="97167d12-1e7e-4a6e-82ff-518c887a62b8">
<orm-attributes>
<attribute name="column">`right`</attribute>
</orm-attributes>
</field>
<field name="rootId" type="uuid" uuid="2ca02ad1-2d63-4d80-8f73-8649a05e21cd"/>
<orm-attributes>
<attribute name="export-file-name">Category.php</attribute>
<attribute name="table">category</attribute>
<attribute name="repository-class">ApiBundle\Repository\CategoryRepository</attribute>
<attribute name="Gedmo">
<attribute name="Tree">
<attribute name="Type">nested</attribute>
<attribute name="Fields">
<attribute name="TreeLeft">left</attribute>
<attribute name="TreeRight">right</attribute>
<attribute name="TreeLevel">level</attribute>
<attribute name="TreeParent">parent</attribute>
<attribute name="TreeRoot">rootId</attribute>
</attribute>
</attribute>
</attribute>
</orm-attributes>
</entity>
<association from="\ApiBundle\Entity\Category" to="\ApiBundle\Entity\Category" caption="Category Category" owner-alias="children" inverse-alias="parent" many-owner="true" many-inverse="false" uuid="b16d0a81-e7cd-4bdc-b7d3-de1839d4f19c">
<association-field from="parentId" to="id"/>
<orm-attributes>
<attribute name="side-owning"/>
<attribute name="side-inverse"/>
</orm-attributes>
</association>
<association from="\ApiBundle\Entity\Category" to="\ApiBundle\Entity\Category" owner-alias="" inverse-alias="root" many-owner="true" many-inverse="false" uuid="30b17252-6070-42fc-8edf-809bf28f6bb4">
<association-field from="rootId" to="id"/>
<orm-attributes>
<attribute name="side-owning"/>
<attribute name="side-inverse"/>
</orm-attributes>
</association>