You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When in Geomap i select a room with the netbox 'bastion.ucman.local' in it, it's shown with a link named 'bastion' (correctly shortened) but the href of the link points to 'http://navapp.ucman.local/ipdevinfo/bastion/' (also shortened) and clicking it the response page goes:
'bastion
Device Info
IP Address: N/A
Status Not monitored'
not knowing the code behind I suppose the simplest solution is that the href of links shouldn't be shortened, only the name
To Reproduce
Steps to reproduce the behavior:
1 Configure the DOMAIN_SUFFIX
2 Go to Geomap and select a room
3 on the room popup look to a netbox shortened name link
4 click on the link and see if it arrive to the correct page
Expected behavior
selecting a netbox link on geomap should bring up the correct ipdevinfo page
Environment (please complete the following information):
client side: Firefox 83 (64bit) on ubuntu 18.0.4
server: Debian 10 nav 5.1.1
Method of installation from Debian package
The text was updated successfully, but these errors were encountered:
lunkwill42
changed the title
[BUG] using DOMAIN_SUFFIX broke netbox links in Geomap
[BUG] using DOMAIN_SUFFIX breaks netbox links in Geomap
Jan 15, 2021
Describe the bug
I configured 'DOMAIN_SUFFIX = .ucman.local'
When in Geomap i select a room with the netbox 'bastion.ucman.local' in it, it's shown with a link named 'bastion' (correctly shortened) but the href of the link points to 'http://navapp.ucman.local/ipdevinfo/bastion/' (also shortened) and clicking it the response page goes:
'bastion
Device Info
IP Address: N/A
Status Not monitored'
if i search 'bastion' in the global search it is correctly redirected to 'http://navapp.ucman.local/ipdevinfo/bastion.ucman.local/'
not knowing the code behind I suppose the simplest solution is that the href of links shouldn't be shortened, only the name
To Reproduce
Steps to reproduce the behavior:
1 Configure the DOMAIN_SUFFIX
2 Go to Geomap and select a room
3 on the room popup look to a netbox shortened name link
4 click on the link and see if it arrive to the correct page
Expected behavior
selecting a netbox link on geomap should bring up the correct ipdevinfo page
Environment (please complete the following information):
client side: Firefox 83 (64bit) on ubuntu 18.0.4
server: Debian 10 nav 5.1.1
Method of installation from Debian package
The text was updated successfully, but these errors were encountered: