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 upgrade inconsistencies #631
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.
Looks good to me @Hlavtox, but can you resolve conflits? 😄
0d83a8f
to
f4eeabc
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 @Hlavtox
I tested your PR, and I didn't manage to verify all improvements you mentioned in description!
See detailed results obtained in Database after upgrade from 17.6.7 -> 8.1.2 :
-
ps_product_attribute
location
is not removed after upgrade ❌
ps_product_attributequantity
is not removed after upgrade ❌See attached screenshot:
-
ps_smarty_lazy_cache
cache_id
is similar to 8.1.2 clean version ✔️ -
ps_log :
id_shop
id_shop_group
id_lang
is similar to 8.1.2 clean version ✔️ -
ps_product_attribute_lang :
available_now
,available_later
is similar to 8.1.2 clean version ✔️ -
ps_order_cart_rule :
deleted
is similar to 8.1.2 clean version ✔️ -
ps_product_group_reduction_cache :
reduction
is similar to 8.1.2 clean version ✔️ -
ps_stock_mvt :
physical_quantity
is similar to 8.1.2 clean version ✔️ -
ps_order_payment :
amount
is similar to 8.1.2 clean version ✔️
Thank you !
FYI it won't be part of 4.16.4. But, no worries, it will be part of the next patch with this coming fix PrestaShop/PrestaShop#33874 ;) |
a8a7c58
1a7690d
to
a8a7c58
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 @Hlavtox
I retested your PR after your last improvement and it LGTM ✔️
The problem mentioned previousely in ps_product_attribute table is solved ✔️ :
-
ps_product_attribute
location
is removed after upgrade ✔️ -
ps_product_attribute
quantity
is removed after upgrade ✔️
See attached screenshot:
Thanks!
SET SESSION sql_mode='';
to the beginning, or you will get an error 1067 because of bad default value inPREFIX_smarty_lazy_cache
.