| Summary: | Bug reporting feature selects wrong version (leading to bug reports being automatically closed) | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Karl Ove Hufthammer <karl> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/systemsettings/commit/7212ef0222f6c29de97cfbb872d463a8ac8964f5 | Version Fixed/Implemented In: | 5.27.4 |
| Sentry Crash Report: | |||
|
Description
Karl Ove Hufthammer
2023-03-05 12:00:14 UTC
Definitely would be nice to set the version number automatically, But when I test this and click "Report a Bug in the Current Page", it defaults to selecting "master" in the version table for all pages I tried. What page did this behavior happen with? It happens with all the pages I have tested. An example is the Bluetooth page. Reporting a bug opens a URL without any version info: https://bugs.kde.org/enter_bug.cgi?product=systemsettings&component=kcm_bluetooth For comparison, if I report a bug for a standalone application, e.g., Dolphin, a URL with version info is opened: https://bugs.kde.org/enter_bug.cgi?format=guided&product=dolphin&version=22.12.3 (The URL without any version info now actually defaulted to to 5.27.2 for me, so perhaps it defaults to the value used in the user’s previous/latest bug report for the given product?) I had a different default version in different browsers, so I did some more digging. The default version is actually stored in a *cookie*. For example, for systemsettings bugs, it’s stored in a cookie named ‘VERSION-systemsettings’ (for me set to ‘5.27.2’). Anyway, adding the version number to the URL should override any cookie values. Agreed, will work on it. A possibly relevant merge request was started @ https://invent.kde.org/plasma/systemsettings/-/merge_requests/219 Git commit e0681d2a6a167238624924d4a98e702e705137e9 by Nate Graham. Committed on 14/03/2023 at 23:30. Pushed by ngraham into branch 'master'. Include version number in bug report URL This way the correct version gets pre-selected in the Bugzilla window. FIXED-IN: 5.27.4 M +3 -1 app/SettingsBase.cpp https://invent.kde.org/plasma/systemsettings/commit/e0681d2a6a167238624924d4a98e702e705137e9 Git commit 7212ef0222f6c29de97cfbb872d463a8ac8964f5 by Nate Graham. Committed on 15/03/2023 at 01:05. Pushed by ngraham into branch 'Plasma/5.27'. Include version number in bug report URL This way the correct version gets pre-selected in the Bugzilla window. FIXED-IN: 5.27.4 (cherry picked from commit e0681d2a6a167238624924d4a98e702e705137e9) M +3 -1 app/SettingsBase.cpp https://invent.kde.org/plasma/systemsettings/commit/7212ef0222f6c29de97cfbb872d463a8ac8964f5 |