Faulty Patch in v13

frappe.exceptions.ValidationError: Please Duplicate this Website Theme to customize.

/apps/frappe/frappe/patches/v13_0/website_theme_custom_scss.py

hi @gavindsouza

the patch Merge branch 'develop' into misc-fix-1 · frappe/frappe@4fa3522 · GitHub

caused the below

File "/home/frappe/frappe-bench/apps/frappe/frappe/website/doctype/website_theme/website_theme.py", line 12, in valida te self.validate_if_customizable() File "/home/frappe/frappe-bench/apps/frappe/frappe/website/doctype/website_theme/website_theme.py", line 37, in valida te_if_customizable frappe.throw(_("Please Duplicate this Website Theme to customize.")) File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 385, in throw msgprint(msg, raise_exception=exc, title=title, indicator='red', is_minimizable=is_minimizable) File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 364, in msgprint _raise_exception() File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 315, in _raise_exception raise raise_exception(msg) frappe.exceptions.ValidationError: Please Duplicate this Website Theme to customize.

Same in the develop branch as well.

Hi, could you try migrating again after adding the change from this PR?

hi @chinmaypai

Yes the PR has resolved the issue. did bench migrate and bench update as well.

:+1:

1 Like