[Koha-bugs] [Bug 29322] New: Date validation can be sketchy
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 26 15:41:54 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29322
Bug ID: 29322
Summary: Date validation can be sketchy
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: REST API
Assignee: koha-bugs at lists.koha-community.org
Reporter: martin.renvoize at ptfs-europe.com
Jonathan found some interesting errors with the date-time validation when
writing extra tests for bug 24850.
Passing:
"due_date": "2021-10-27 23:59",
Results in:
=> "Does not match date-time"
But passing:
"due_date": "2021-10-27 23:59:00",
Results in:
=> "Missing property
Shouldn't they both result in:
=> "Does not match date-time"
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list