| Summary: | Rating package reviews' usefulness fails with HTTP status code 400 | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Lianna <lianna> |
| Component: | discover | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aleixpol, antti.savo, taras.oleksyn |
| Priority: | NOR | ||
| Version First Reported In: | 6.6.5 | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/discover/-/commit/c022ef032bd47be3d48e649522b359844c8c271c | Version Fixed/Implemented In: | 6.8.0 |
| Sentry Crash Report: | |||
|
Description
Lianna
2026-06-20 13:47:52 UTC
Can confirm. The first click on Yes or No seems to go through fine, but any update returns an error. Operating System: Arch Linux KDE Plasma Version: 6.7.80 KDE Frameworks Version: 6.28.0 Qt Version: 6.12.0 Kernel Version: 7.0.12-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor Memory: 64 GiB of RAM (62.7 GiB usable) Graphics Processor: AMD Radeon RX 5700 Hi, I've started to work on this one. A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1362 Git commit c022ef032bd47be3d48e649522b359844c8c271c by Nate Graham, on behalf of Taras Oleksyn. Committed on 17/08/2026 at 13:30. Pushed by ngraham into branch 'master'. Make package reviews usefulness persistent The ODRS API does not allow re-submitting a vote, and returns an error 400 when the user tries to do that. To avoid this, save a list of which reviews a user has voted on and disable the `Yes/No` buttons if the vote was submitted. Date like the following will be saved in the state data: [ReviewVotes] 664232=2 675199=1 677028=1 FIXED-IN: 6.8.0 M +2 -0 discover/qml/ReviewDelegate.qml M +32 -1 libdiscover/ReviewsBackend/ReviewsModel.cpp M +3 -0 libdiscover/ReviewsBackend/ReviewsModel.h https://invent.kde.org/plasma/discover/-/commit/c022ef032bd47be3d48e649522b359844c8c271c |