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

BO - Order page - An exception is displayed in the console when adding a product out of stock #21794

Closed
khouloudbelguith opened this issue Nov 6, 2020 · 1 comment · Fixed by #21830
Assignees
Labels
1.7.7.x Branch BO Category: Back Office Bug Type: Bug Fixed Resolution: issue closed because fixed Major Severity: major bug > https://build.prestashop.com/news/severity-classification migration symfony migration project Order Component: Which BO section is concerned Regression Type: regression
Milestone

Comments

@khouloudbelguith
Copy link
Contributor

Describe the bug

In the BO > Orders > Add new order page > when we try to add a product out of stock (which is not allowed) => an exception is displayed in the console
image

Expected behavior

image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a product out of stock (Deny orders)
  2. Go to BO > Orders page > Add new order page
  3. Add the last product created to the cart
  4. See error

PS:1770rc1build4 => ok

Additional information

  • PrestaShop version: 177x
  • PHP version: 7.2
@khouloudbelguith khouloudbelguith added 1.7.7.x Branch BO Category: Back Office Bug Type: Bug Major Severity: major bug > https://build.prestashop.com/news/severity-classification migration symfony migration project Order Component: Which BO section is concerned Regression Type: regression Ready Status: Issue is ready to be worked on labels Nov 6, 2020
@jolelievre jolelievre linked a pull request Nov 10, 2020 that will close this issue
@prestashop-issue-bot prestashop-issue-bot bot removed the Ready Status: Issue is ready to be worked on label Nov 10, 2020
@Progi1984 Progi1984 added this to the 1.7.7.0 milestone Nov 10, 2020
@khouloudbelguith khouloudbelguith added the Fixed Resolution: issue closed because fixed label Nov 12, 2020
@Progi1984
Copy link
Member

Fixed by #21830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.7.x Branch BO Category: Back Office Bug Type: Bug Fixed Resolution: issue closed because fixed Major Severity: major bug > https://build.prestashop.com/news/severity-classification migration symfony migration project Order Component: Which BO section is concerned Regression Type: regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants