TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
936 stars 302 forks source link

"Change location settings ->" link in end-device view redirects to a wrong URL #3400

Closed TheIronNinja closed 3 years ago

TheIronNinja commented 3 years ago

Summary

The URL where it sends you is wrong. It should be /applications/{app-id}/devices/{dev-id}/location but it is applications/{dev-id}/devices/{app-id}/location. The id's are swapped. This results in the page not found error.

Steps to Reproduce

  1. Open the console
  2. Go to any application end-device
  3. Click on the little link on the right hand side, just above the map and below the "Live data" window.

Environment

The Things Stack for LoRaWAN: ttn-lw-stack Version: 3.9.4 Build date: 2020-09-23T09:56:19Z Git commit: c4be55c Go version: go1.15.2 OS/Arch: linux/amd64

bafonins commented 3 years ago

Hi @TheIronNinja! This issue is fixed in v3.10 (https://github.com/TheThingsNetwork/lorawan-stack/pull/3275).