Details
-
Bug
-
Resolution: Invalid
-
High
-
5.3.5, 5.4.2
-
None
Description
If you add a "Latest Items" block to your landing page and set its source to be the same landing page were the block is, new items won't be displayed.
Steps To Reproduce
- Edit "ezpublish_legacy/settings/override/block.ini.append.php" and add the following lines:
[General] AllowedTypes[]=LatestContent6 [LatestContent6] Name=Latest content 6 items NumberOfValidItems=6 NumberOfArchivedItems=6 ManualAddingOfItems=disabled FetchClass=eZFlowLatestContent FetchParameters[Source]=NodeID FetchParametersSelectionType[Source]=single FetchParametersIsRequired[Source]=true FetchParameters[Classes]=string FetchFixedParameters[Limit]=12 ClassesList[] ClassesList[]=article ClassesList[]=landing_page ViewList[]=latest_content ViewName[latest_content]=Latest content
- Clear the caches
- Open the backoffice and create a landing page
- In that landing page layout attribute, add a new "Latest content 6 items" block
- Publish the landing page
- Edit the landing page
- Set the "Latest content 6 items" source to the same landing page where you created it
- Publish the landing page
- Under that landing page, create three articles
- Execute the ezflow cronjob:
php ezpublish/console --env=prod ezpublish:legacy:script runcronjobs.php ezflow
- Confirm no items will be displayed in the block