Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1198

Block the transition to non-existent pages

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1 Larks
    • Fix Version/s: 1.6 Larks
    • Labels:
      None
    • Sprint:
      1.6 Larks

      Description

      Allowed to transfer to non-existent page (see images).

      Steps to reproduce:
      1. Open some page with padgination (Recent Activities for ex.)
      2. Change number in the URL to value which exceeds maximum

      As a result, page with this number is shown even it is not exist
      Expected result: Anywhere there is pagination: if you specify a value less than the first page - to show first page. If the value is exceed maximum pages that show the maximum page.

      This issue can be reproduce on Recent Activity oage, Topic without answer, Search, Private messages, user's post list(from Profile), topics/branches page

        Attachments

        1. # 3 incorrect pagination.png
          # 3 incorrect pagination.png
          151 kB
        2. # 4 error 400.png
          # 4 error 400.png
          5 kB
        3. max.png
          max.png
          29 kB
        4. min.png
          min.png
          31 kB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  tigressap Alyona
                  Reporter:
                  flashed Mikhail Zaitsev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 6h Original Estimate - 6h
                    6h
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 8.5h
                    8.5h

                      Structure Helper Panel