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

Setting incorrect pagination offset in subitems view

    Details

      Description

      Steps to reproduce:
      1. Be sure that limit for subitems list is 10 (it will be easier to test)
      2. Find folder when you have got miltiplication of the limit of children locations (for example 20 or 30) - it must be multiplication of the limit
      3. Use "Last" button of pagination for subitems list
      4. Results won't be returned, because offset has been set too high

      The reason of that is incorrect calculation for offset for last page which fails in case when total number of results is multiplication of page limit.

        Issue Links

          Activity

          Mateusz Hyndle (Inactive) created issue -
          Damien Pobel (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Damien Pobel (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Damien Pobel (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Show
          Damien Pobel (Inactive) added a comment - The fix should be more or less similar to https://github.com/mhyndle/PlatformUIBundle/commit/1127f0109ae6967f16ad1b2d2c6fa5efe5af3dd1
          Damien Pobel (Inactive) made changes -
          Link This issue discovered while testing EZP-25033 [ EZP-25033 ]
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Damien Pobel (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ] Stéphane Diot [ stephane.diot@ez.no ]
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Backlog [ 10000 ]
          Damien Pobel (Inactive) made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          Stéphane Diot made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Stéphane Diot made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Stéphane Diot made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Affects Version/s 2015.11.2 [ 14499 ]
          Fix Version/s 2015.12 [ 14489 ]
          Assignee Stéphane Diot [ stephane.diot@ez.no ]
          Show
          Stéphane Diot added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/452 merged: https://github.com/ezsystems/PlatformUIBundle/commit/630851eead211d80f7e0eefbff340469ae7cd179
          Rui Silva (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.
          Rui Silva (Inactive) made changes -
          Assignee Rui Silva [ rui.silva@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 96830 ] EZEE Development Workflow [ 125341 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          42m 8s 1 damien.pobel@ez.no 02/Dec/15 2:17 PM
          Confirmed Confirmed InputQ InputQ
          10s 1 damien.pobel@ez.no 02/Dec/15 2:17 PM
          Development Development Backlog Backlog
          2h 53m 1 damien.pobel@ez.no 02/Dec/15 5:17 PM
          Backlog Backlog InputQ InputQ
          3s 1 damien.pobel@ez.no 02/Dec/15 5:17 PM
          InputQ InputQ Development Development
          17h 50m 2 Stéphane Diot 03/Dec/15 11:02 AM
          Development Development Development Review Development Review
          2s 1 Stéphane Diot 03/Dec/15 11:02 AM
          Development Review Development Review Documentation Review done Documentation Review done
          4h 39m 1 Stéphane Diot 03/Dec/15 3:41 PM
          Documentation Review done Documentation Review done QA QA
          23m 51s 1 rui.silva@ez.no 03/Dec/15 4:05 PM
          QA QA Closed Closed
          19h 14m 1 rui.silva@ez.no 04/Dec/15 11:19 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              Mateusz Hyndle (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: