relation list and version

Author Message

Fred Gueho

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 ?

Fred Gueho

Wednesday 03 May 2006 8:32:54 am

No idea ? Anyone ?

Kristof Coomans

Wednesday 03 May 2006 9:00:08 am

This is normal. I don't think it will harm.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Fred Gueho

Thursday 04 May 2006 5:30:56 am

Yes I did install ez3.8. And it happens with the "plain site" choice.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.