Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

[12.0][MuK Backend Theme] Error Undefined varialble: "$mk-brand-gradient-start" #40

Closed
anhvu-sg opened this issue Dec 17, 2018 · 3 comments

Comments

@anhvu-sg
Copy link

anhvu-sg commented Dec 17, 2018

Hello team,

Can you please help me with this issue?

Step to reproduce

  • Create a new database
  • install muk_web_theme
  • backup DB without filestore (or pg_dump)
  • restore the new database

image

image

Note:

  • it works well if we back up the DB with filestore
  • I also upgrade module muk_web_theme, but the bug still there
@keshrath
Copy link
Member

That's not a bug at all. The theme creates its own file to make the colors customizable. So a backup without files can't be complete at all.

@anhvu-sg
Copy link
Author

Currently, my DB is very big and I don't think I will back up the filestore but It's not a big deal for the moment, I found the solution by executing SQL to reset. I also put the SQL here in case someone needs:

DELETE FROM ir_ui_view KEY key ilike '%web_editor.scss_%' and mode='extension';

Thanks for your help @keshrath :-)

@omushpapa
Copy link

omushpapa commented Jul 15, 2020

DELETE FROM ir_ui_view KEY key ilike '%web_editor.scss_%' and mode='extension';

Should probably be

DELETE FROM ir_ui_view WHERE key ILIKE '%web_editor.scss_%' AND mode='extension';

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

No branches or pull requests

3 participants