[MGR-108] Repository packages do not show installed version Created: 04/Jan/21 Updated: 22/Jun/21 Resolved: 22/Jun/21 |
|
Status: | Done |
Project: | appNG Manager |
Component/s: | None |
Affects Version/s: | 1.16.0, 1.17.0, 1.17.1 |
Fix Version/s: | 1.18.0 |
Type: | Bug | Priority: | Medium |
Reporter: | Christian Brückner | Assignee: | Matthias Müller |
Resolution: | Done | Votes: | 0 |
Labels: | package-repository | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | image-2021-01-04-10-35-24-173.png |
Description |
The applicationlist in Repositories>Packages does not show the installed version for some applications. This affects the column "installed version" as well as the red/green indicator icon. When you select an application, the table for "package version" is correct and indicates the installed version with the green icon correctly. This bug only happens, when the number of applications in the repository is larger than the pagesize of the datasource. The affected applications can change depending on the pagesize and sort order.
|
Comments |
Comment by Christian Brückner [ 04/Jan/21 ] |
I have tracked this issue to ManagerService#searchInstallablePackages line 395 applicationRepository.search(fp.getPageable()); does not retrieve the correct applications with respect to the pageable (size and sort). Iinstalled version are only retrieved for this list (line 401 repository.getInstallablePackages(identifiers)) But in the end, a different list is handed to the client (line 414 data.setPage(packages, fp.getPageable())) |
Comment by Matthias Müller [ 22/Jun/21 ] |
Hi Christian, thanks for finding this! Regards |