Physical Stock Count Date Value Not Always Validated

Description

Background
Programs configured to "Enable field for Date Physical Stock Count Completed" will prompt users for a date upon submission of a requisition. The date field's validation, however, isn't as robust as possible.

Steps to Reproduce

1a. Click the "Date physical stock count completed" textbox.
2a. Click "Escape" in order to close the calendar control
3a. Enter "00/00/0000" as the date
4a. Click Submit, taking care not to first click "Date physical stock count completed" and thereby open the calendar control
5a. Open the requisition and note that "30/11/0001" is arbitrarily used as the date.

1b. Same as above
2b. Same as above
3b. Enter alphabetical text (eg: "March 23, 2018")
4b. Same as above
5b. Note that the Submit button fails silently.

Expected Behavior

  • the user must specify a date for a successful submission.

Environment

None

Assignee

Nikodem Graczewski

Reporter

Ben Leibert

Story Points

3

Time tracking

24h

Epic Link

Components

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure