Bug 37825

Summary: Vendor contract entry form does not correctly validate missing start and end dates
Product: Koha Reporter: Emily Lamancusa (emlam) <emily.lamancusa>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

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