Update appinfo cache only if the app version is newer#39108
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
|
There are no clear steps to reproduce the original problem, so it's difficult to foresee if this PR will fix the issue. |
623c2b7 to
ea07549
Compare
|
Kudos, SonarCloud Quality Gate passed! |
|
cannot reproduce the issue now, but the changes look indeed very promising. Thanks for the hard digging! |








Description
Cache app info for the appid only if the version is newer.
Related Issue
#38549
Motivation and Context
If there are multiple versions of the same app in different locations, we're expected to use the one with the latest version.
Note that the problem happens having a local cache active.
How Has This Been Tested?
occ market:upgrade <app>There is no problem with the upgrade. The installed version in the DB is the latest one (downloaded from the market). Reloading the page doesn't trigger the "update needed" page.
Screenshots (if appropriate):
Types of changes
Checklist: