Cloudlog Test Fails But Still Uploads Logs
Summary
Cloudlog "test" in the "logging" section fails with "invalid response" when using a valid API key and the correctly formatted URL.
Version
Gridtracker 1.23.0402 and Cloudlog (hosted by Cloudlog), I'm assuming the latest of 2.4.9.
OS Version
up to date Ubuntu 23.04
Steps to reproduce
- Launch Gridtracker
- Click on Settings
- Click on Logging on the top tab *Enter your URL, or in my case, "https://k8vsy.cloudlog.co.uk/index.php/api/qso" and then enter an API key.
- Click "Test"
- Notice it says "invalid response"
What is the current bug behavior?
Test of Cloudlog fails when using currently formatted URL and API key.
What is the expected correct behavior?
That the result would say "passed"
Relevant logs and/or screenshots
https://gitlab.com/gridtracker.org/gridtracker/-/blob/master/package.nw/lib/adif.js#L2788-2807
compared to
https://gitlab.com/gridtracker.org/gridtracker/-/blob/master/package.nw/lib/adif.js#L2696-2715
Possible fixes
I think station_profile_id: CloudlogStationProfileID.value
needs added to the code that is doing the "Cloudlog" testing here, https://gitlab.com/gridtracker.org/gridtracker/-/blob/master/package.nw/lib/adif.js#L2788-2807
Is this a bug or enhancement request? (delete labels that don't apply)