Skip to content

[BUG] Accessing ipdevinfo for an IP device that has module with / in name raises internal server error #3652

@johannaengland

Description

@johannaengland

Describe the bug

When trying to access the ipdevinfo page for an IP device that has a module with a slash in it's name it leads to the following popup:

Image

and an internal server error in the background:

django.urls.exceptions.NoReverseMatch: Reverse for 'ipdevinfo-module-details' with arguments '('example-sw.example.org', '1/A')' not found. 1 pattern(s) tried: ['ipdevinfo/(?P<netbox_sysname>[^/]+)/module=(?P<module_name>[^/]+)/\\Z']

Environment (please complete the following information):

NAV 5.15.0, still working in 5.14.1.

Additional context

This was caused by changes in #3627.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions