Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.7.0-dev
-
None
-
Operating System: RHEL 6.2
PHP Version: PHP 5.3.3
Database and version: Mysql 5.1.61
Browser (and version):
Description
If you have an article to hide in a sub-folder of the node set in RootNodeList, the article is not hidden.
Steps to reproduce
1. Create content.ini.append.php in override with the following settings
<?php /* [HideSettings] RootNodeList[] RootNodeList[]=2 HideDateAttributeList[] HideDateAttributeList[article]=hidedate */ ?>
2. Create a cronjob.ini.append.php in override with the following:
[CronjobPart-hide] Scripts[]=hide.php
3. Edit the article class adding a "Date time" attribute, with identifier (hidedate)
4. Create a Folder name "News"
5. Create an article not to hide (no data in hidedate attribute)
6 Create an article to hide (with hide date 2011.01-01 12:00)
7. Run the hide cronjob ($php runcronjobs.php hide)
Note: the cronjob works if you change RootNodeList[]=2 (eZPublish Folder) to the NodeId of the News folder