Skip to content

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

Closed
@khouloudbelguith

Description

@khouloudbelguith
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

Activity

added
BOCategory: Back Office
BugType: Bug
MajorSeverity: major bug > https://build.prestashop.com/news/severity-classification
migrationsymfony migration project
OrderComponent: Which BO section is concerned
ReadyStatus: Issue is ready to be worked on
on Nov 6, 2020
linked a pull request that will close this issueCorrectly generate cart error messages #21830on Nov 10, 2020
added this to the 1.7.7.0 milestone on Nov 10, 2020

2 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1.7.7.xBranchBOCategory: Back OfficeBugType: BugFixedResolution: issue closed because fixedMajorSeverity: major bug > https://build.prestashop.com/news/severity-classificationOrderComponent: Which BO section is concernedRegressionType: regressionmigrationsymfony migration project

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @Progi1984@jolelievre@khouloudbelguith

    Issue actions

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