-
Notifications
You must be signed in to change notification settings - Fork 191
fix!: prevent lumo utility classes to be imported automatically #23074
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!: prevent lumo utility classes to be imported automatically #23074
Conversation
flow-server/src/main/resources/plugins/application-theme-plugin/theme-handle.js
Outdated
Show resolved
Hide resolved
flow-server/src/main/resources/plugins/application-theme-plugin/theme-handle.js
Outdated
Show resolved
Hide resolved
|
|
||
| if (themeJson.lumoImports) { | ||
| const themeName = basename(themeFolder); | ||
| logger.warn( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was not able to observe this warning anywhere. Where should it show up? Should it be in the server logs instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to enable debug logs for dev server output tracker in dev mode (I don't remember the specific logger category right now)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this needs a logging configuration, then most likely this would never be seen by users, maybe it's better to place this warning in Java?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can probably be checked in ThemeValidationUtil
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the log message in TaskUpdateThemeImport
mshabarov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs better logging.
|
|
Hi @mcollovati and @mshabarov, when i performed cherry-pick to this commit to 25.0, i have encountered the following issue. Can you take a look and pick it manually? |
Fixes #22467 --------- Co-authored-by: Mikhail Shabarov <[email protected]>
…) (#23174) Fixes #22467 --------- Co-authored-by: Mikhail Shabarov <[email protected]>



Fixes #22467