Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2100

RSS block offset does not work

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.2.0-rc1
    • 2.2.0-beta1
    • None

    Description

      Using Offset value different than 0 does not work for RSS block.

      *Steps to reproduce:
      1. Create new Landing Page
      2. Add RSS Block
      3. Fill details:
      URL: http://xkcd.com/rss.xml
      Limit: 3
      Offset: 1
      4. Submit block

      Expected:
      Latests RSS entries with correct offset are displayed.

      Actual:
      Preview error:

      [2018-06-18 15:53:17] php.CRITICAL: Type error: array_slice() expects parameter 2 to be integer, string given {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Type error: array_slice() expects parameter 2 to be integer, string given at /home/vagrant/ee_demo/vendor/ezsystems/ezplatform-page-fieldtype/src/lib/FieldType/Page/Block/Event/Listener/RssBlockListener.php:116)"} []
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: