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

Fix for #33634 - Prevent overrides being wiped during upgrade to PS8 #618

Merged
merged 2 commits into from Sep 1, 2023

Conversation

gennaris
Copy link
Contributor

Questions Answers
Description? Prevent existing overrides from being wiped during upgrade to PS8
Type? bug fix
BC breaks? n/a
Deprecations? n/a
Fixed ticket? Fixes #33634 ( PrestaShop/PrestaShop#33634 )
How to test? Upgrade from PS 1.7.x to PS 8.x having some overrides - compare override folder before / after this PR

@gennaris gennaris changed the title fix for #33634 Fix for #33634 - Prevent overrides being wiped during upgrade to PS8 Aug 31, 2023
kpodemski
kpodemski previously approved these changes Aug 31, 2023
@kpodemski
Copy link
Contributor

thank you @gennaris :)

Copy link

@aniszr aniszr left a comment

Choose a reason for hiding this comment

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

Hello @gennaris

I tested your PR and the described improvements are verified !

  • Autoupgrade from PS 1.7.8.9 to PS 8.1.1 without PR

-> In the override folder there was at the bigenning 5 folders (classes,controllers,modules,index.php and .htaccess)
-> After the upgrade was done the override folder contain only 2 files (index.php and .htaccess)

  • Autoupgrade from PS 1.7.8.9 to PS 8.1.1 with PR

->The override folder kept all his 5 files (classes,controllers,modules,index.php and .htaccess) after the upgrade was done

See attached screenrecord:

618._PrestaShop_autoupgrade.mp4

QA ✔️

Thank you!

@aniszr aniszr self-assigned this Sep 1, 2023
@kpodemski kpodemski added this to the 4.16.3 milestone Sep 1, 2023
@kpodemski kpodemski merged commit e53e5f6 into PrestaShop:dev Sep 1, 2023
26 checks passed
@kpodemski
Copy link
Contributor

thanks @gennaris 🎉

@MatShir
Copy link

MatShir commented Sep 4, 2023

🥳

@matthieu-rolland matthieu-rolland mentioned this pull request Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
4 participants