Incorrect message after trying to save changes on the Orderable Details screen

Description

During exploratory tests, I noticed that the error information isn't precise.

Reproduction steps:

  1. Log into the application as administrator.

  2. Go to Administration > Products and click the "View" link next to any product.

  3. Click the "Create Kit Unpack List" button and add some products.

  4. Enter large values ​​and try saving changes.

  5. Bad Request occurs.

Expected results:

  • A meaningful error message should appear in the modal after trying to save the changes;

  • The "Quantity" field should be marked in red with an exclamation mark (as e.g. in the requisition product grid) and on hover of it, a popover with the following information should appear: "This number is larger than what can be saved".

Environment

None

Attachments

3

Activity

Show:
Joanna Szymańska
October 30, 2019 at 9:58 AM

I will move this bug to Dead because the screen was changed, and now different bugs occur.

Joanna Bebak
August 13, 2019 at 7:10 AM

Moving back to To Do and Unassigned, as it hasn't been worked on since April.

Joanna Bebak
April 3, 2019 at 1:40 PM
(edited)

I was able to reproduce the issue but now it occurs in a different manner. Instead of Bad Request, "Failed to update the product!" is returned - I think the current message is acceptable. Yet the "Quantity" field is not marked in red and no popover occurs on hover of it. I'll update the acceptance criteria and move the ticket to Done.

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Components

Sprint

None

Priority

Time Assistant

Created March 29, 2019 at 6:44 AM
Updated February 8, 2023 at 1:29 PM
Resolved October 30, 2019 at 9:58 AM