-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v2.11-beta1
Python version
3.8
Steps to Reproduce
From your release notes:
- All objects now use numeric IDs in their UI view URLs instead of slugs. You may need to update external references to NetBox objects. (Note that this does not affect the REST API.)
- The UI now uses numeric IDs when filtering object lists. You may need to update external links to filtered object lists. (Note that the slug- and name-based filters will continue to work, however the filter selection fields within the UI will not be automatically populated.)
Expected Behavior
The use of slugs should remain, ideally indefinitely but at the very least there should be an overlap of at least one release where both work.
Observed Behavior
URL slugs no longer work at all.
We have quite a lot of documentation in other places (e.g. wikis and other documents) which point back at NetBox, and all of those links will break when we upgrade. It's a big ask for us to upgrade and then trawl through all our docs to update the links for (from a user perspective) no discernible gain.
I understand you wanting to change this, and the reasons given. Perhaps the think to do is have some kind of compatibility shim that, if a URL with slugs is detected, can redirect to the URL with IDs instead? That would keep the URLs working, possibly even indefinitely. I think we'd be happy to sacrifice some performance in terms of the extra redirect just to avoid having to spend hours updating all the documentation.