Bug 54973 - [UCS@school] Date validation error is misleading
[UCS@school] Date validation error is misleading
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v9-errata
Assigned To: Carlos García-Mauriño
Tobias Wenzel
https://git.knut.univention.de/univen...
:
Depends on: 54668 54812
Blocks:
  Show dependency treegraph
 
Reported: 2022-07-12 09:42 CEST by Tobias Wenzel
Modified: 2022-07-20 13:24 CEST (History)
7 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Wenzel univentionstaff 2022-07-12 09:42:56 CEST
+++ This bug was initially created as a clone of Bug #54812 +++

+++ This bug was initially created as a clone of Bug #54668 +++

Upon creating a school user with an expiration date later than 31.12.2099 the error "Not a valid Date" is thrown, but the date format is indeed right (maybe our syntax expects something 20**?).

For reference:

Unprocessable Entity: {'userexpiry': 'The property userexpiry has an invalid value: Invalid syntax. Account expiry date: Not a valid Date'}
Comment 1 Tobias Wenzel univentionstaff 2022-07-12 13:51:22 CEST
qa had been done in https://forge.univention.org/bugzilla/show_bug.cgi?id=54812

all ok, Verify

ucsschool 4.4

- changelog ok
- advisory ok
- merge ok
- jenkins happy
Comment 2 Tobias Wenzel univentionstaff 2022-07-20 13:24:02 CEST
Errata updates for UCS@school 4.4 v9 have been released.

https://docs.software-univention.de/changelog-ucsschool-4.4v9-de.html

If this error occurs again, please clone this bug.