Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL pattern discrepancy between "classic" detail views and NautobotUIViewSet detail views #3109

Closed
glennmatthews opened this issue Jan 11, 2023 · 0 comments · Fixed by #4034
Assignees
Labels
type: bug Something isn't working as expected

Comments

@glennmatthews
Copy link
Contributor

Environment

  • Nautobot version (Docker tag too if applicable): 1.5.7
  • Python version:
  • Database platform, version:
  • Middleware(s):

Steps to Reproduce

For non-NautobotUIViewSet views, the standard detail view URL pattern is <app_name>/<model>/<PK or slug>/, e.g. https://demo.nautobot.com/dcim/sites/ams01/. For NautobotUIViewSet views, the detail view URL pattern is missing the final trailing slash, e.g. https://demo.nautobot.com/circuits/providers/att and adding the trailing slash (https://demo.nautobot.com/circuits/providers/att/) results in a 404 error.

Expected Behavior

We should be more consistent here.

Observed Behavior

@glennmatthews glennmatthews added the type: bug Something isn't working as expected label Jan 11, 2023
@timizuoebideri1 timizuoebideri1 self-assigned this Jun 29, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants