Skip to content

fix: installation failure#306

Merged
rohitwaghchaure merged 5 commits into
frappe:developfrom
stravo1:homepage-custom-fields-patch-fix
May 18, 2025
Merged

fix: installation failure#306
rohitwaghchaure merged 5 commits into
frappe:developfrom
stravo1:homepage-custom-fields-patch-fix

Conversation

@stravo1
Copy link
Copy Markdown
Member

@stravo1 stravo1 commented May 15, 2025

addresses #305

after #303 the check was removed from install.py -> run_patches(), all the patches were being executed and in a few patches the old "E Commerce Settings" doctype was being used without checking whether it existed or not which in turn caused the error.

also the ordering of the execution of patches had to be changed as one of the patches (make_homepage_products_website_items) depended on another patch being executed before it (add_homepage_field)

stravo1 added 5 commits May 12, 2025 21:37
before this the patch was being skipped as while installing webshop the
"Website Items" table would be created and thus the install script
skipped all patches. but this patch is mandatory to be executed as
without this patch the homepage overrides made for webshop misbehave.
ordering of patch execution also changed as one of the patches (` make_homepage_products_website_items` ) depended on another patch being executed before it ( `add_homepage_field` )
@stravo1 stravo1 changed the title fix: installation failure #305 fix: installation failure May 15, 2025
@rohitwaghchaure rohitwaghchaure merged commit f29c738 into frappe:develop May 18, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants