-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: if an app exists in apps
and custom_apps
folder, apps
will be picked first for js and css ressources
#37043
Comments
cc @ArtificialOwl as this looks like a pretty big problem with multiple app versions. |
Is there a good reason for supporting multiple versions of an app being installed simultaneously? Only one can truly be active at a time anyhow. I think we should just add an admin setup check that considers this an invalid situation and tells the admin to eliminate the duplicate apps (i.e. #40063). |
Yes, the idea was to allow to update shipped app via the appstore... |
@ArtificialOwl now that you released https://github.com/nextcloud-releases/related_resources/releases/tag/1.2.0 to the store, https://apps.nextcloud.com/apps/related_resources, I suppose people will run into the above issue. So would you mind having a look at the problem above? |
Maybe we make the logic prefer the |
Bug description
When you use
addScript
and request a script of your app to be loadedAND you have different versions of the app in both of your apps folders
THEN you will have ressources loaded from the apps folder, even if the version is lower
Steps to reproduce
custom_apps
foldercustom_apps
apps
folderExpected behavior
All the ressources requests should be loaded from the default latest app root instead
The text was updated successfully, but these errors were encountered: