-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Describe the Bug
Sometimes no information about accesses is shown for some pages. This is confusing for users, not knowing if it is an error, or indeed some kind of result.
Steps to Reproduce
- Activate Statistics for Augsburg (local environment)
- Chose an interval (for example last one month, as default)
- Create some
PageAccessesobjects for some (not all) pages within the interval you chose - Go to the stistics, select all languages
- See "x Zugriffe insgesamt" for the pages for which you created
PageAccesses, see empty row for the pages withoutPageAccessesobjects
Expected Behavior
- Consider no
PageAccessesas 0 access, show "keine Zugriffe" Explain there is no access history data for the pageSee this discussion
Option 1 is simple but does not cover the case when there is a gap in the access history (example: from some reason the access number for the page xyz on the day dd.mm.yyyy was not collected). BUT: the current implementation does not care whether the history is seamless anyway as long as there is at least one PageAccesses in the selected interval.
Option 2 reports potentiall errors and gaps in the access history but is of more effort and probably cases questions to users.
I'm for option 1, personally.
Actual Behavior
Nothing is shown.
Screenshot
In this case, no PageAccesses object of the selected interval exists for the pages "Über die App Integreat Augsburg", Kontakt zu App Team Augsburg"). There are PageAccesses objects with 0 access for the pages "Wilkommen, "Behörden und Beratung".
Additional Information
Traceback
Related Issues
Blocked by: #4025