Skip to content

Always load scripts from files app second (Fixes: #30278) - #30369

Closed
mejo- wants to merge 1 commit into
masterfrom
fix/30278/files_first
Closed

mejo- wants to merge 1 commit into
masterfrom
fix/30278/files_first

Conversation

@mejo-

@mejo- mejo- commented Dec 21, 2021

Copy link
Copy Markdown
Member

Apparently the scripts of many apps depend on the files scripts being
initialized first. So let's keep this for now and always load the files
scripts second (after core).

@mejo-

mejo- commented Dec 21, 2021

Copy link
Copy Markdown
Member Author

The unit tests I added ealier still succeed, but my manual tests (by opening documents in the viewer app or opening the sidebar in Files) now also succeed :)

Comment thread lib/public/Util.php Outdated
Apparently the scripts of many apps depend on the files scripts being
initialized first. So let's keep this for now and always load the files
scripts second (after core).

Signed-off-by: Jonas Meurer <jonas@freesources.org>
@mejo-
mejo- force-pushed the fix/30278/files_first branch from be35955 to 1272144 Compare December 21, 2021 15:57
@mejo-
mejo- requested a review from CarlSchwan December 21, 2021 15:58
@skjnldsv skjnldsv added 2. developing Work in progress bug labels Dec 22, 2021
@solracsf solracsf linked an issue Dec 22, 2021 that may be closed by this pull request
@mejo-

mejo- commented Dec 22, 2021

Copy link
Copy Markdown
Member Author

Closing this PR as there's agreement that it's the wrong approach. See the discussion in #30278 for further information.

@mejo- mejo- closed this Dec 22, 2021
@skjnldsv
skjnldsv deleted the fix/30278/files_first branch March 14, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with dependency logic in Util::addScript

4 participants