Skip to content
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

Add post update hook to install the new quick_form entity type on existing farmOS installations #738

Merged
merged 1 commit into from Oct 23, 2023

Conversation

wotnak
Copy link
Collaborator

@wotnak wotnak commented Oct 23, 2023

Fixes problem reported at https://farmos.discourse.group/t/status-quick-form-entity-type/1772.

By default, new entity types are automatically installed only on module install. Since the quick_form entity type was added in an existing farm_quick module that is already installed on many farmOS instances, a hook_update_N implementation should be added to install the entity type during database updates.

@wotnak wotnak force-pushed the quick-form-entity-type-install branch from 9183882 to 0f086d8 Compare October 23, 2023 14:18
@mstenta
Copy link
Member

mstenta commented Oct 23, 2023

Thank you @wotnak!!! I will review and test this ASAP.

modules/core/quick/farm_quick.install Outdated Show resolved Hide resolved
modules/core/quick/farm_quick.install Outdated Show resolved Hide resolved
@wotnak wotnak force-pushed the quick-form-entity-type-install branch from 0f086d8 to 4d4cc73 Compare October 23, 2023 14:34
@wotnak wotnak changed the title Fix: Add update hook to install the new quick_form entity type on existing farmOS installations. Add post update hook to install the new quick_form entity type on existing farmOS installations Oct 23, 2023
@mstenta mstenta force-pushed the quick-form-entity-type-install branch from 4d4cc73 to e0ca16c Compare October 23, 2023 16:26
@mstenta mstenta merged commit e0ca16c into farmOS:2.x Oct 23, 2023
2 checks passed
@mstenta
Copy link
Member

mstenta commented Oct 23, 2023

Merged. Thanks again @wotnak!

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

Successfully merging this pull request may close these issues.

None yet

2 participants