-
Notifications
You must be signed in to change notification settings - Fork 4
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
Commented updated hook. #383
Commented updated hook. #383
Conversation
I just learned that update hook runs on a fresh install for the modules that are added as a dependency. Also this issue is an example of why a related update hook should be added to the module by which the related fields are provided. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remove it. Have a comment referring to the ticket if you want but remove the code.
I take this statement back, it does not runs the update hook during fresh install. tide_core has a logic set in here which runs all the update hooks except for the ones defined in the array. But I still believe this particular update hook should not be here as this module is not the field provider, so removing the code from here. |
LGTM @MdNadimHossain |
Maybe too late now, but I think the function signature needs to be there. Might break or not run later hooks on a clean install. |
Jira
https://digital-vic.atlassian.net/browse/SDPAP-7108
Problem/Motivation
Fix
Related PRs
Screenshots
TODO