Skip to content

Conversation

@phl0
Copy link
Contributor

@phl0 phl0 commented Jul 12, 2023

Just discovered an issue with LoTW reports. I have two station_profiles with exact same grid and station_callsign (one has a POTA reference and the other a GMA reference) but both are in the same grid.
Now the LoTW import fails because find_correct_station_id($station_callsign, $my_gridsquare) would find both of them and always only use the first.

I did some research with @int2001 and @AndreasK79 and we came to the conclusion that matches should be based on station_callsign and time_on as those two values are delivered by lotwreport.adi upon syncing. lotwreport contains the exact time on you logged even if the QSO partner logged some minutes off (tested with @int2001) so we are sure that we can use the time for exact matches.

@phl0
Copy link
Contributor Author

phl0 commented Jul 12, 2023

skipNewQso aka importMissing has been removed as auto-creating QSO from LoTW matches should not occur imho. The code was hidden from the GUI anyway.

@magicbug
Copy link
Owner

I agree with you @phl0 auto creating from QSO matches isn't a good idea, either the qso is in the log or it isnt

@phl0 phl0 marked this pull request as ready for review July 12, 2023 09:44
@phl0
Copy link
Contributor Author

phl0 commented Jul 12, 2023

Ok this one is go for merge then. Tested by @int2001.

@int2001
Copy link
Contributor

int2001 commented Jul 12, 2023

QSL!
tested this thing on my dev-env (imported DB from a multiuser-env).
couldn't find any bug.

@magicbug magicbug merged commit d108ba4 into magicbug:dev Jul 12, 2023
@phl0 phl0 deleted the lotwMatchOnStationcallsign branch July 12, 2023 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants