Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1238

Show "404 Page Not Found" page, when non-existing list page set in url

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1-B2
    • Component/s: Template System
    • Labels:
      None
    • Change Log Group:
      Changed
    • Change Log Message:
      Attempt to show non-existing list page would now end up in "404 - Page Not Found" page shown instead of silently showing 1st page of the list.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Each In-Portal theme mostly consists of following page types:

      • designs - single page layout, that used to create multiple pages
      • lists - page, that displays a list of items with pagination and sorting controls
      • detail - page, that corresponds to each item, that is being printed on a "list" page

      In case, when invalid page number (e.g. too large) is specified in "list" page url (e.g. "?page=5555555"), then 1st page contents in shown instead. This is a fallback, that prevents user from seeing an empty page.

      It seems, that in such case it's better to show 404 page instead of showing list's 1st page.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: