Product Grid error messages display on a new requisition


As a storeroom manager, when I select a requisition that has status of "Not yet started", the requisition shows errors for all fields in the product grid (see attachment).

Expected behavior: The new requisition should not show any errors within the product grid until a user has entered data into a row and caused an error within a row.

NOTE: This ticket has been modified to create the same error message behavior through the entire UI

Acceptance Criteria

  • For forms that use tables to structure data input:

    • No error messages will be shown when a page first loads

    • Error messages in a table row will be shown when a user tabs or clicks outside of the table row

    • Error messages are shown immediately when a user attempts to submit a form

    • Once error messages are showing, they update immediately as a user edits them

  • The following pages comply to this behavior

    • Requisition product grid (fully supply and non-full supply)

    • Manage POD screen

    • Stock Management Physical Inventory

    • Stock Management Adjustments (note all other stock management screens reuse this screen's code)

Testing Criteria

  • On the changed pages mentioned above

    • Open the page, and verify there are not error messages showing

    • Create and/or click on a table row with no data entered, tab or click on another element in the same row, verify that no error messages are showing

    • Click or tab outside the table row, error message for invalid table cells should now be visible

    • Click on submit button for page, verify that all other possible error messages are showing




Sam Im
July 28, 2017, 11:32 PM

Tested but found two issues, these are linked in the test case ticket above

Nick Reid
July 31, 2017, 1:21 AM

— I looked at OLMIS-2914, and don't understand where the problem is ... I don't see the "two issues" in the test and maybe I just don't know where to look?

Nick Reid
August 10, 2017, 5:41 PM

This ticket is ready for QA again

Sam Im
August 11, 2017, 1:23 AM

I tested this again and it passed. Assigning back to you.

In the acceptance criteria we don't mention testing the "Receive" page, but I tested it and the dropdown selection doesn't show an error like all the other pages. But it does show an error on the page number, and has an error prompt when you try to submit. Let me know what you want to do with this.

Nick Reid
August 11, 2017, 2:02 AM

— see it, fixed it

The error was for Recieved From field (or the assignment field) — the reasons dropdown doesn't show error messages there.... but apparently its not required....

Side question that I'll say and forget about — how can we show 'required' fields in tables?



Nick Reid


Sam Im


Time remaining





Fix versions

Affects versions