eAPD
eAPD copied to clipboard
[Bug] Date validation is inconsistent between inline and admin check(backend)
Description
Date validation is happening between the in-line and admin check is inconsistent. When the admin check is enabled the validation in the page appears to work as expected. The admin check panel:
- Doesn't catch when Start Dates are later than End Dates
- Doesn't validate when an invalid year is entered
Steps to reproduce
- Login and view an APD. Turn on Admin Check
- Navigate to Activity Schedule
- Enter dates and observe the above issues
Expected results-
- Dates validate consistently between admin check panel and inline validation
Actual results-
Role Affected
- [x] All
- [ ] Federal Admin
- [ ] State Admin
- [ ] State Staff
- [ ] State Contractor
- [ ] System Admin
Environment
- [x] All
- [ ] PR #____
- [ ] Staging
- [ ] Production
Browser
- [x] All
- [ ] Firefox
- [ ] Chrome
- [ ] IE
Cypress test created OR Ticket for cypress test created-
Related user story/bug- (if applicable)
Additional information- (optional)
Logs or error output/Screenshot/Video- (at least 1 of these)