Bug 37825 - Vendor contract entry form does not correctly validate missing start and end dates
Summary: Vendor contract entry form does not correctly validate missing start and end ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-03 15:38 UTC by Emily Lamancusa (emlam)
Modified: 2024-09-03 15:38 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Lamancusa (emlam) 2024-09-03 15:38:50 UTC
To reproduce:
1. Go to Acquisitions and find a vendor
2. Click +New > Contract
3. Click "Save" without entering any information
--> Note that the "Name" field now shows the error: "This field is required."
4. Type in a name, but leave the Start date and End date fields blank
5. Click "Save"
--> The page crashes instead of showing a user-friendly error