Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orphan App is not listed in Software Center #6947

Closed
DavidePrincipi opened this issue Jun 11, 2024 · 5 comments
Closed

Orphan App is not listed in Software Center #6947

DavidePrincipi opened this issue Jun 11, 2024 · 5 comments
Assignees
Labels
bug A defect of the software verified All test cases were verified successfully

Comments

@DavidePrincipi
Copy link
Member

An instance of application that does not belong to any enabled repository is not accessible from the Software Center and cannot be removed.

Steps to reproduce

  • Install some applications from Software Center
  • Disable all repositories under Settings > Software Repositories

Expected behavior

App instances under Software Center > Installed are visible. They can be also removed.

Actual behavior

The Software Center is empty. The App Grid still lists the instances.

image

Components

Core 2.8.2

See also

https://community.nethserver.org/t/ns8-unable-to-remove-app-from-ui-when-its-repository-is-disabled/23108


Thanks to @dnutan

@DavidePrincipi DavidePrincipi added the bug A defect of the software label Jun 11, 2024
@DavidePrincipi DavidePrincipi self-assigned this Jun 11, 2024
@compgeniuses
Copy link

i was under the impression that this was a Feature and Not a bug.

Basically, if we install Apps via the command line, the Apps do not Appear on Software center, however, they do appear on the Applist grid.

Equally, when an App repository is removed, the App is deemed to have been removed, and therefore does ot appear in Software center, and therefore, not possible to remove it via the software centre.

What would be a Bug, in my opinion based on the current implementation is if, the software repo is re-enabled, and the app is still not visible in software center, and not possible to remove from the same interface.

What do you think?

@DavidePrincipi
Copy link
Member Author

The Software Center displays Applications and their Instances. It is not only a list of software from enabled repositories, it provides actions like Clone/Move Edit Label and Remove over individual instances.

Such actions are no longer available when a repository is disabled: it is wrong. Hence it is a bug.

DavidePrincipi added a commit to NethServer/ns8-core that referenced this issue Jun 17, 2024
App instances count as available applications

Refs NethServer/dev#6947
@DavidePrincipi
Copy link
Member Author

DavidePrincipi commented Jun 17, 2024

Test case

In Core 2.8.4-dev.1 2.8.4-dev.2

Test the bug isn't reproducible, and the expectation works.

@DavidePrincipi DavidePrincipi added the testing Packages are available from testing repositories label Jun 17, 2024
@DavidePrincipi
Copy link
Member Author

DavidePrincipi commented Jun 18, 2024

@DavidePrincipi DavidePrincipi added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Jun 18, 2024
@DavidePrincipi
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect of the software verified All test cases were verified successfully
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants