ncssar / radiolog

SAR radio log program
Other
13 stars 3 forks source link

radio locator id should not include fleet# prefix #610

Closed caver456 closed 1 year ago

caver456 commented 1 year ago

Not sure if this issue is new or old, that is, not sure whether it's due to the way Shared Locations processes the label, or, whether the issue has been around for a long time and was also causing label problems when Locator Group was handling the requests. Regardless: right now the rest/location/update request is getting sent with the id syntax like so:

064855:http://localhost:8080/rest/location/update/position?lat=39.268845&lng=-121.02551833333334&id=FLEET:100-Team abc

which results in a label '100-Team abc' when viewing Shared Locations:

image

All of this will be revisited as a part of #598 - see tasks and comments regarding labels in that issue - but, this portion can be addressed right now as its own issue.

(Unfortunately there's probably not a way to change the label of an existing Shared Location dot, so, the original 'device-id' Shared Location dot before Change Callsign will remain. Maybe need to reinvestigate NOT sending until after CCD. Right now, it is sent before CCD as a safety measure, so the location can be seen right away, in case CCD is not completed for some time. Opened a caltopo help ticket to find out of it's possible to change the name of an existing Shared Location dot, or to delete an existing Shared Location dot.)

caver456 commented 1 year ago

Need to check if sending without the 100- will still work for LiveTracks. Also, omitting the 100- will probably cause it to fail for old CTD using Locator Groups. Maybe the better route is to submit a help ticket asking to automatically prune the fleet# from the Shared Location label, if FLEET: is part of the sent request id.

caver456 commented 1 year ago

closing this issue since it's now part of #598