Skip to content

fix: manually running custom homepage fields patch#303

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

fix: manually running custom homepage fields patch#303
rohitwaghchaure merged 3 commits into
frappe:developfrom
stravo1:homepage-custom-fields-patch-fix

Conversation

@stravo1
Copy link
Copy Markdown
Member

@stravo1 stravo1 commented May 12, 2025

before this the patch was being skipped as while installing webshop the "Website Items" table would be created and thus the install.py script skipped all patches. but this patch is mandatory as without this patch the homepage overrides made for webshop misbehave: #57

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.
Comment thread webshop/setup/install.py Outdated
@rohitwaghchaure rohitwaghchaure merged commit 06b6d06 into frappe:develop May 13, 2025
2 of 3 checks passed
@rohitwaghchaure
Copy link
Copy Markdown
Contributor

@Mergifyio backport version-15

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 13, 2025

backport version-15

✅ Backports have been created

Details

mergify Bot pushed a commit that referenced this pull request May 13, 2025
* fix: manually running custom homepage fields patch

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.

* fix: remove condition which checked for "Website Item" table

create_website_items handles the check

* fix: remove condition which checked for "Website Item" table

re: fix patch name
(cherry picked from commit 06b6d06)
@trustedcomputer
Copy link
Copy Markdown

@stravo1 I am not sure how to test because Homepage has been removed from the frappe develop branch, which I believe makes the PR into frappe develop invalid, correct? Wouldn't it need to go into version-15-hotfix?

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.

3 participants