Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19916

eZFlow: Limit parameter for eZFlowLatestObjects fetch class is sometimes ignored.

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 7 hours Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - 7 hours Remaining Estimate - 2 hours
                7h