eZ Community » Forums » Developer » Modified_subnode isn't changed when...
expandshrink

Modified_subnode isn't changed when deleting subnodes

Modified_subnode isn't changed when deleting subnodes

Tuesday 13 March 2007 8:05:43 pm - 3 replies

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.

Modified on Tuesday 13 March 2007 8:26:23 pm by Yannick Dupuis

Tuesday 13 March 2007 11: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...

Wednesday 14 March 2007 11:33:05 am

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

Friday 23 March 2007 2:02:08 pm

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

Modified on Friday 23 March 2007 2:07:03 pm by Yannick Dupuis

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from