Skip to content

BO - Order page - An error 500 is displayed when adding a product with a min quantity #21525

Closed
@khouloudbelguith

Description

@khouloudbelguith
Contributor

Describe the bug

In the BO > New Order page > when we try to add a product with quantity < minimal quantity, we have an exception not clear
image

Expected behavior

Should be like 1768 "clear alert"
image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a product ProductA with quantity=20 and minimal quantity=10
  2. Go to BO > Add new order page
  3. Search for the last product created
  4. Add it to the order with quantity = 1
  5. See an error

Debug mode disabled
image

With PS1770rc1build2, when debug mode enabled
image

Additional information

  • PrestaShop version: 1770rc1build2
  • PHP version: 7.2

Activity

prestashop-issue-bot

prestashop-issue-bot commented on Oct 20, 2020

@prestashop-issue-bot

Thanks for opening this issue! We will help you to keep its state consistent

khouloudbelguith

khouloudbelguith commented on Oct 20, 2020

@khouloudbelguith
ContributorAuthor

Related to #20671 & #18568

added
BOCategory: Back Office
MajorSeverity: major bug > https://build.prestashop.com/news/severity-classification
OrderComponent: Which BO section is concerned
ReadyStatus: Issue is ready to be worked on
BugType: Bug
migrationsymfony migration project
on Oct 20, 2020
added
MinorSeverity: minor bug > https://build.prestashop.com/news/severity-classification
MajorSeverity: major bug > https://build.prestashop.com/news/severity-classification
and removed
MajorSeverity: major bug > https://build.prestashop.com/news/severity-classification
MinorSeverity: minor bug > https://build.prestashop.com/news/severity-classification
on Oct 20, 2020

2 remaining items

added this to the 1.7.7.0 milestone on Oct 20, 2020
added
WIPStatus: Work In Progress
and removed
ReadyStatus: Issue is ready to be worked on
on Oct 20, 2020
added
PR availableSolution: issue is being addressed
and removed
WIPStatus: Work In Progress
on Oct 20, 2020
added
Must-haveKanban prioritization: issue must be included in next version
Nice-to-haveKanban prioritization: issue could be included in next version
and removed
Must-haveKanban prioritization: issue must be included in next version
on Oct 21, 2020
removed this from the 1.7.7.0 milestone on Oct 26, 2020
Progi1984

Progi1984 commented on Nov 3, 2020

@Progi1984
Member

Fixed #21526

added this to the 1.7.7.0 milestone on Nov 3, 2020
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-classificationNice-to-haveKanban prioritization: issue could be included in next versionOrderComponent: Which BO section is concernedPR availableSolution: issue is being addressedRegressionType: regressionmigrationsymfony migration project

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @Progi1984@marionf@khouloudbelguith

    Issue actions

      BO - Order page - An error 500 is displayed when adding a product with a min quantity · Issue #21525 · PrestaShop/PrestaShop