-
Notifications
You must be signed in to change notification settings - Fork 72
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
Removed hooks registerGDPRConsent & actionDeleteGDPRCustomer as hook listeners are not defined #161
Conversation
23b95ea
to
314535c
Compare
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.
Hello @Progi1984 ,
Thanks for the PR !
In psgdpr, v1.4.0, the hooks registerGDPRConsent
and actionDeleteGDPRCustomer
are removed ✅
Tested usual cases, it works well.
Before approving this, what about this part of the issue PrestaShop/PrestaShop#19230 (comment) ?
In debug mode, throw an exception like this when that happens:
Hook with the name %hookName% has been registered by %moduleClassName%, but the corresponding method %functionName% has not been defined in the Module class.
Should it be done in this PR ? another one ? wdyt ?
Thanks !
@florine2623 This PR fixes the issue for the module |
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.
Ok noted !
Then it looks good to me.
Tested :
- hook/unhook psgdpr
- configured checkboxes, check on FO if well displayed
- export info
- deleted customer
- downloaded invoices
- tested features in customer account
QA ✅
Thanks!
Thanks @florine2623 |
psgdpr
is not linked to the hookregisterGDPRConsent
&actionDeleteGDPRCustomer
In upgrade, hooks
registerGDPRConsent
&actionDeleteGDPRCustomer
are unlinked.