Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
LIMA | #05 | Oct15-Oct29, LIMA | #06 | Oct29-Nov12, LIMA | #15 | Mar03-Mar24, LIMA | #16 | Mar24-Apr14, LIMA | #17 | Apr14-May05
Description
As a site admin
I want to be able to list the 404s that my users hit
so that I can fix them to improve the user experience in my site
It can be due to broken links, misspelled urls, even discovering possible content your users might be looking for. Having this info, can help admins to identify pages that have been removed incorrectly, or moved from one place to a different one without a proper redirect.
Design
Acceptance criteria
Given a Liferay DXP site
When a user tries to access a URL that does not exist and it triggers a 404
Then the URL is registered and the number of occurrences is increased
Given a Liferay DXP site
When a site admin accesses the redirections section of the site
Then she can see listed the URLs that have triggered a 404 in the last 30 days
Given a Liferay DXP site
When a site admin accesses the redirections section of the site
Then she can see the number of occurrences for each URL
Given a Liferay DXP site with several URLs causing 404s registered
When a site admin accesses the redirections section of the site
Then she can order the list by URL and/or number of occurrences (the default order is number of occurrences from higher to lower)
Test Scenarios
ID | Test Priority | Test Scenarios | Covered by Frontend (JS-Unit)? | Covered by Backend (Unit/Integration)? | Test to add |
---|---|---|---|---|---|
3.6 | 5 | A URL that has triggered a 404 can be registered in admin | NO | NO | Redirect#Order404URLsByRequests |
3.7 | 5 | Occurrence count of a 404 URL can be increased | NO | YES | Redirect#Order404URLsByRequests |
3.8 | 4 | A 404 URL can be seen in the list for 30 days | NO | This will be part of |
Manual |
3.9 | 5 | Requests number for each 404 URLs can be seen through the admin | NO | NO | Redirect#Order404URLsByRequests |
3.10 | 4 | 404 URLs can be ordered by URL | NO | The sort is passed by the JSP Needs functional | Redirect#Order404URLsByRequests |
3.11 | 4 | 404 URLs can be ordered by occurrence count and the default is from higher to lower | NO | The sort is passed by the JSP Needs functional | Redirect#Order404URLsByRequests |
Attachments
Issue Links
- causes
-
LPS-110897 RedirectNotFoundEntrySearchTest failed with NullPointerException
- Closed
- demands
-
LPS-111407 Add a few more integration tests for redirect
-
- Closed
-
- depends on
-
LPS-101741 Allow site admins to manage permanent redirects
-
- Closed
-