Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
-
eZFlow 2.4
Description
When using an eZFlow block with FetchClass=eZFlowLatestObjects and a given "Limit" parameter,
decreasing the Limit value will still display the old number of items.
Steps to reproduce:
Using the following in block.ini:
[LatestObjects] Name=LatestObjects ManualAddingOfItems=disabled FetchClass=eZFlowLatestObjects FetchFixedParameters[Class]=article FetchFixedParameters[Source]=2 FetchParameters[Limit]= FetchParametersIsRequired[] FetchParametersIsRequired[Limit]=false ViewList[]=line ViewName[line]=line
1. Add the "LatestObjects" block to the Frontpage
2. Set "Limit" parameter to "3"
3. Publish, and verify that the Homepage displays 3 items.
4. Edit the Frontpage, decreasing "Limit" value to "2".
A possible workaround is to manually remove any items from the list when decreasing the Limit value.
Further Notes:
Adding new content that gets fetched by the eZFlowLatestObjects class, will also cause the "Limit" parameter to be ignored.