New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug : Tour Editor] Air quality is not displayed when it's saved with a different language #1193
Comments
I think we have to change this in further versions, that air quality is saved as a number which is independend of the language |
After thinking more about this issue, we should use the The database upgrade process has to convert the translated texts into the weather air quality tags. |
I don't know if it's the same issue, but already when updating from 23.5 to 23.8 (which I did just recently on my way to test 23.10) whatever is inserted in "air quality" gets removed (MTB in German) |
I can't reproduce the issue on 23.10, can you provide a scenario and/or video capture to show the problem ? |
In version 23.5 I had a few gps-tracks where "air quality" was set when updating the weather information. After updating this to version 23.8 "air quality" was set to "nicht ausgewählt" (not selected). |
@Thompson-ongithub When you updated from 23.8 to 23.10, did you have the same issue ? Also, did you happen to switch languages or did you keep using MT in german all that time ? |
If I remember correctly when upgrading from 23.8 to 23.10 the air quality wasn't removed (I'll double check later this evening) |
I just double checked: when upgrading from 23.08 to 23.10beta "air quality" is remembered (i.e. is still set where it was set in 23.08) |
Because the translated text is saved in the database field and the german translation was changed #1124 (comment) there is now a mess. I was not aware that the tranlated text is saved when I changed the translation but this issue will and can be fixed in the following version after 23.10 |
Thanks. |
I have done a fix here for the next version.
Sorry for the "mess" ! |
I also already started a fix for this issue 5e4b82c + 6ba1d75 and used simple SQL which is way faster than EJB, you cannot even see the update progress in the UI. I was not aware that you already generalized the concurrent update data process in |
I used a concurrent update because, for example, in my PROD MT, ALL my tours from 2020 (27th November 2020) to 2023 have air quality and I thought it would be a lot of tours and hence better with concurrency. |
That sounds good. It's probably too late and risky to put it in 23.10 |
When only a sql field must be updated, like in this issue, then I think it's faster with native sql commands because EJB is loading the whole |
After having published a test version then I don't change the database version in final fixes |
That makes sense, it's better not take any risks for new releases |
What happened ?
The air quality is saved as string with the selected language. The tour editor do not select the saved air quality when the language has changed.
Version
23.10 and before
System
All
Relevant log output
No response
The text was updated successfully, but these errors were encountered: