Forums / Developer / Modified_subnode isn't changed when deleting subnodes

Modified_subnode isn't changed when deleting subnodes

Author Message

Yannick Dupuis

Tuesday 13 March 2007 12:05:43 pm

Hello,

I have a problem with the attribute "modified_subnode" of a node.
I use in a php extension the subtree function of eZContentObjectTreeNode class with this filter:

array( 'ClassFilterType' => 'include',
         'ClassFilterArray' => [a list of class],
         'AttributeFilter' => array( 'or', 
                                             array( 'modified', '>', [a timestamp] ),                
                                             array( 'modified_subnode', '>', [a timestamp]  )
                                    ),
         'Limitation' => array()
 );

If with this filter I can get content when I add or modified subnodes, I can't get content when I delete a subnodes.
This is a limitation or a bug, because for me a suppression is a modification as addition of new content, isn't it???
Thanks for peoples who reads and answers to this topic.

Personal website : http://bit.ly/Yannick-Dupuis
Company : Openbridge - http://www.openbridge.fr

Björn Dieding@xrow.de

Tuesday 13 March 2007 3:22:18 pm

if this is true it is a bug....

we have caches depending on modified_subtree.... They should be cleared...

Please report this...

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Yannick Dupuis

Wednesday 14 March 2007 3:33:05 am

The URL of the bug report: http://issues.ez.no/IssueView.php?Id=10443&activeItem=1

Personal website : http://bit.ly/Yannick-Dupuis
Company : Openbridge - http://www.openbridge.fr

Yannick Dupuis

Friday 23 March 2007 6:02:08 am

The bug is now solved and you can find a patch for the version 3.8.3 at http://issues.ez.no/AttachmentItemContent.php?Id=5194 (account is needed for log in).

PS: doc for applied the patch on a LINUX installation of eZ Publish: http://www.cpqlinux.com/patch.html

Personal website : http://bit.ly/Yannick-Dupuis
Company : Openbridge - http://www.openbridge.fr