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
Check if the hook is present before adding it #160
Conversation
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.
Hell @Hlavtox ,
Tested both scenarios on 1.7.8.8
, 8.0.2
, 8.1.x
and develop
with gsitemap v4.2.0 and v4.2.1.
The module is well installed after a simple uninstall and/or uninstall with option delete module folder on PS 1.7.8.8
and 8.0.2
. ✅
On PS 8.1.x
and develop
, it is NOK ❌
Am I missing something ?
Thanks 🤗
@florine2623 Hi, can you retest it? It must have been some core issue, because I just tried it on 8.1.x and it works perfectly. |
@PrestaShop/qa-functional Hi again, can you retest? |
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 @Hlavtox
I tested your PR with both scenarios on 8.1.x & Develop :
- 8.1.x :
The module is well installed after a simple uninstall and/or uninstall with option delete module folder ✔️
The hook stayed in the database ✔️
- Develop:
The module is well installed after a simple uninstall and/or uninstall with option delete module folder ✔️
The hook stayed in the database ✔️
QA ✔️
Thanks!
➡️ Make sure to replace
PREFIX_
in the queries withps_
or whatever your prefix is.How to test - scenario A
How to test - scenario B