Status history link URL is ridiculously long
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Christian Strand Young |
Bug Description
When viewing the status page, there is a "history" link, whose purpose is to open a report of boxState activity the last 7 days. This links to the device history app.
The URL contains a ridiculously long list of netbox IDs, one for each netbox in the database. There are several problems with this:
* Some browser enfore a max length limit for URLs
* Some web servers (namely Apache) enforce a max length for URLs.
* The URL is not reusable for its intent. You cannot bookmark it and expect it to always retrieve the last 7 days worth of boxState alerts for the entire NAV installation. It is statically connected to the list of netboxes that were being monitored at the time the link was bookmarked.
The URL needs only convey two things:
1. Limit the search to boxState events.
2. Limit the search to alerts occurring within the last 7 days.
Changed in nav: | |
milestone: | 3.6.0b6 → 3.6.0 |
Changed in nav: | |
milestone: | 3.6.0 → 3.6.1 |
Changed in nav: | |
milestone: | 3.6.1 → 3.6.2 |
Changed in nav: | |
milestone: | 3.6.2 → 3.6.3 |
Changed in nav: | |
milestone: | 3.6.3 → 3.6.4 |
Changed in nav: | |
milestone: | 3.6.4 → 3.7.1 |
Changed in nav: | |
milestone: | 3.7.1 → 3.7.2 |
Changed in nav: | |
milestone: | 3.7.2 → 3.7.3 |
Changed in nav: | |
milestone: | 3.7.3 → 3.7.4 |
Changed in nav: | |
milestone: | 3.7.4 → 3.8.1 |
Changed in nav: | |
milestone: | 3.8.1 → 3.8.2 |
Changed in nav: | |
milestone: | 3.8.2 → none |
Changed in nav: | |
assignee: | Magnus Eide (m-eide) → Christian Strand Young (lizter) |
milestone: | none → 3.9.1 |
Changed in nav: | |
status: | In Progress → Fix Committed |
Changed in nav: | |
status: | Fix Committed → Fix Released |
Each status section shows boxes related to selected organizations and categories.
If all organization and categories is selected the URL only needs type (boxState) and group_by (datetime, default is netbox).
If only a subset og organizations and categories are selected there are a couple of options:
- Keep the URL as it is today, with all netboxes related to those orgs/cats.
- Add org/cat search to devicehistory.
- Add status section parameter to devicehistory.
- Just show all netboxes.