Details
Details
Assignee
vasyl.yurkovych
vasyl.yurkovychReporter
Matej Kubinec
Matej KubinecPriority
Components
Labels
Needs QA
Yes
Needs Doc
No
Planned Version/s
Fix versions
Story Points
3.5
Sprint
Smart Checklist Progress
1/2
Start date
Mar 14, 2025
Created October 21, 2024 at 1:28 PM
Updated 22 hours ago
Currently in version 3 the usage of the force parameter is incorrect (force=true used on background and panel, force=false used on updates page).
Acceptance criteria
Background checks and update panel should use call with force=false
Updates page should use parameter with force=true
Reduce cache time (BE)
Steps to reproduce
Login to PMM
Open network tab
Do one of the following:
Reload page
Check for an update from panel (not forced)
Open updates page (PMM Configuration → Updates)
Check for updates from the update page
Expected
The api call to
/v1/server/updates
on background and update panel should be called with?force=false.
The api call to
/v1/server/updates
on updates page should be called with?force=true.
Actual
The force parameter is currently used the other way around:
The api call to
/v1/server/updates
on background and update panel is called with?force=true.
The api call to
/v1/server/updates
on updates page is called with?force=false.