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

univention.ucs_modules.univention_app: self-service does not get installed if self-service-backend is installed #16

Open
s3lph opened this issue Sep 26, 2023 · 0 comments

Comments

@s3lph
Copy link

s3lph commented Sep 26, 2023

The univention.ucs_modules.univention_app module tries to check whether an app is already installed:

return _appname in AVAILABLE_APPS_LIST and list(filter(lambda x: _appname in x, INSTALLED_APPS_LIST))

On one of our systems, INSTALLED_APPS_LIST looks like this: ["ox-connector=2.2.7", "self-service-backend=5.0"].

Since this line of code performs a string-in-string comparison against the entries in INSTALLED_APPS_LIST, the app self-service will be considered already installed, though it's actually the app self-service-backend that is installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant