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 missing hooks when upgrading from old versions #55

Merged
merged 2 commits into from
Mar 9, 2023

Conversation

kpodemski
Copy link
Contributor

Questions Answers
Description? To prevent issues with upgraded installations, we should hook this module during its upgrade.
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? Related to the contactform fix
How to test? You'd need to have the version below < 3.3.1 installed to see that hooks are registered during an upgrade of the module.

mflasquin
mflasquin previously approved these changes Mar 8, 2023
Hlavtox
Hlavtox previously approved these changes Mar 8, 2023
@Hlavtox Hlavtox added this to the 3.3.2 milestone Mar 8, 2023
Copy link
Contributor

@florine2623 florine2623 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @kpodemski ,

I've followed these steps :

  • Uninstall ps_contactinfo v3.3.1
  • Install ps_contactinfo v3.3.0
  • Install this PR
  • Upgrade to ps_contactinfo v3.3.2
  • Check in FO :

Screenshot 2023-03-08 at 15 12 34

The store information block should not be hook here, am I right ?

@Hlavtox Hlavtox dismissed stale reviews from mflasquin and themself via 1a043a3 March 8, 2023 14:28
@Hlavtox
Copy link
Contributor

Hlavtox commented Mar 8, 2023

@florine2623 Hi, you can retest, I removed the extra hook. Krystian knows.

@florine2623 florine2623 self-assigned this Mar 8, 2023
Copy link
Contributor

@florine2623 florine2623 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Hlavtox ,

Tested and it works like a charm !
QA ✅
Thanks!

@nicosomb nicosomb merged commit a478f8c into PrestaShop:dev Mar 9, 2023
@nicosomb
Copy link
Contributor

nicosomb commented Mar 9, 2023

Thank @kpodemski !

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

Successfully merging this pull request may close these issues.

5 participants