-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 low_stock_threshold to fixtures #33491
Conversation
Hlavtox
commented
Jul 30, 2023
Questions | Answers |
---|---|
Branch? | 8.1.x |
Description? | Default demo data doesn't contain low_stock_threshold, which results in this value being NULL in the database, while in fact, it should be 0, like it is for all new products. |
Type? | bug fix |
Category? | IN |
BC breaks? | no |
Deprecations? | no |
How to test? | Install Prestashop, open phpmyadmin, find ps_product and check that values in low_stock_threshold are zeroes, instead NULL for demo products. |
Fixed ticket? | Fixes #33490 |
Related PRs | |
Sponsor company |
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.
Regarding the issue, I think you should target develop and not 8.1.x, WDYT ?
@mflasquin I think if it's not a BC break, we can target 8.1 no? |
8.1.x is a patch branch : https://devdocs.prestashop-project.org/8/contribute/contribution-guidelines/supported-branches/ So regarding this page, you PR should target develop if I'm not mistaken |
@mflasquin this is outdated, we are more flexible regarding patch branches, updates guidelines will be available on the project's website |
@mflasquin more details: PrestaShop/docs#1682 |
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
Thanks for your PR 🚀
Without PR, the low_stock_threshold are NULL, see the attached screenshot below:
With your PR, the low_stock_threshold are zeroes ✔️
LGTM, QA ✔️
Thanks!
Thank you Hiba! :-) |