Tuesday 02 May 2006 9:24:37 am
Hi, When I use a relation list in a custom object to insert a .pdf file, here what I see in the database for the 'datatext' field of my object in 'ezcontentobject_attribute' table :
<?xml version="1.0" encoding="UTF-8"?>
<related-objects>
<relation-list>
<relation-item priority="1"
contentobject-id="491"
contentobject-version="1"
node-id="484"
parent-node-id="53"
contentclass-id="12"
contentclass-identifier="file" />
</relation-list> </related-objects> Which is ok. But when I update my .pdf object, the version change. Which is normal. And when I go again in the database, the datatext of the object in my relation list hasn't changed :
<?xml version="1.0" encoding="UTF-8"?>
<related-objects>
<relation-list>
<relation-item priority="1"
contentobject-id="491"
contentobject-version="1"
node-id="484"
parent-node-id="53"
contentclass-id="12"
contentclass-identifier="file" />
</relation-list> </related-objects> The contentobject-version is still 1 where it should be 2 (or 3, or 4, ...). So, I can deduce that the datatext of a relation list is not updated !!!! Is it normal ?
|