-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix core depending on theming app #29683
Conversation
This was introduced in 3093548 to fix a bug but I can't reproduce the bug after reverting this change. Ideally we would need to create an interface in OCP and cleanup OC_Defaults instead of depending on OC_Defaults. Signed-off-by: Carl Schwan <[email protected]>
I can confirm this fixes the upgrade issue:
I guess in line 409: * @return string SCSS code for variables from ThemingDefaults should be updated as well to: * @return string SCSS code for variables from OC_Defaults EDIT: Done with 9189bc2 reverted to exact state from before: 3093548#diff-709880c12d31976830cbebd16b0ccb48a0a4f6d611d4896e2c56240a196bdfeb The original reason for this change and the problem with it were recognised already: #28751 (comment) Just recognised another issue, as the theming settings are still shown even if the theming app is disabled. Applying any changes of course fails with following browser console errors:
|
/backport to stable23 |
Signed-off-by: MichaIng <[email protected]>
A linter rule preventing usage of |
That would indeed be a good idea, but I'm not sure how feasible it is. I could read the php-cs-fixed doc |
This was introduced in 3093548
to fix a bug but I can't reproduce the bug after reverting this change.
Ideally, we would need to create an interface in OCP and cleanup OC_Defaults
instead of depending on OC_Defaults.
This needs testing of the new profile feature with this patch.
Fix #29676
Signed-off-by: Carl Schwan [email protected]