Bug #15943
closed
Date handling in API Token Creation is broken
Added by Nicolas CHARLES about 5 years ago.
Updated about 5 years ago.
Description
I created a token at 12:03, so default expiration date is 12:03 - but it is inputed as 12:3
Will saving, it is refused as invalid date
Files
- Related to Bug #15896: Normalize datetime format to ISO8601/rfc3339 added
ok, every date are invalid, even
2019-11-14 01:05
- Subject changed from Date handling in API Token Creation is annoying to Date handling in API Token Creation is broken
log show:
[2019-10-14 10:21:56+0000] ERROR com.normation.rudder.rest.RestUtils - "Could not create account cause : Invalid format: \"2019-11-14 02:04\" is malformed at \" 02:04\""
the parseDate now expect ISODate rather than user interface date
- Target version changed from 6.0.0~beta1 to 6.0.0
- Target version changed from 6.0.0 to 6.0.0~beta1
- Status changed from New to In progress
- Assignee set to Raphael GAUTHIER
- Assignee changed from Raphael GAUTHIER to Elaad FURREEDAN
- Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder/pull/2567
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.0~beta1 which was released today.
Also available in: Atom
PDF