Bug 48904 - date2 syntax doesn't work anymore / DateBox parsing is broken: '01.01.2020' → "192020-01-01"
date2 syntax doesn't work anymore / DateBox parsing is broken: '01.01.2020' →...
Status: RESOLVED DUPLICATE of bug 53675
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on: 47201
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-07 15:49 CET by Florian Best
Modified: 2021-09-10 19:07 CEST (History)
3 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?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.086
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Regression
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-03-07 15:49:01 CET
With the code changes:

(new umc.widgets.DateBox())._dateToString('01.01.2020')
"192020-01-01"

I am not sure what effect this have: Does it change the behavior for non "date" syntax classes?

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

When added an extended attribute of type/syntax 'date' and changing it's value to a valid date, the value is not shown in the UMC after saving and reopening the object.

---------------------------------------------------------------------------
univention-ldapsearch -LLLo ldif-wrap=no "(&(univentionFreeAttribute20=*))"

dn: uid=User1,cn=users,dc=support,dc=local
---8<---
univentionFreeAttribute19: 1
univentionFreeAttribute20: 20.06.18
---------------------------------------------------------------------------

Testing Environment: 10.200.42.10
Comment 1 Florian Best univentionstaff 2021-09-10 19:07:59 CEST
Fixed during Bug #53675.

*** This bug has been marked as a duplicate of bug 53675 ***