-
Notifications
You must be signed in to change notification settings - Fork 22
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] Votes are not saved correctly to the config file #279
Comments
Test 1
Preliminary conclusion: Hence I suggest to disregard the double entries for now and analyse what is wrong with the counting logic and the interaction with / transmission ("sync'ing") to the Web Catalog. |
Looking through the code it turns out that the values are correct. The do not represent vote count, but rather voting state.
|
… which makes sense: Only save the own voting locally. So accidentally my suggestion was spot on:
But it obviously is the Web Catalog's counting logic or the transmission of down-votes and revoking a vote on either side, which is flawed (i.e., only up-votes are transmitted and / or transmitted successfully). |
SailfishOS VERSION (Settings → About product → Build): 4.2
HARDWARE (Settings → About product → Manufacturer & Product name): Xperia 10
PATCHMANAGER VERSION (Settings → Patchmanager → [Top pulley] About): 3.2.1
BUG DESCRIPTION
/etc/patchmanager2.conf
records user's votes on patches in the configuration file.The config file has a
[votes]
section for that.Votes are (sometimes?) not (only?) saved in that section, but in the
[settings]
section in addition, using avotes\
prefix.STEPS TO REPRODUCE
cat /etc/patchmanager2.conf
cat /etc/patchmanager2.conf
ADDITIONAL INFORMATION
Example config file snippet:
I would like to have that confirmed by someone, as it's possible my config file has been messed up by a interim development snapshot version.
The text was updated successfully, but these errors were encountered: