Project

General

Custom queries

Profile

Actions

Bug #15943

closed

Date handling in API Token Creation is broken

Added by Nicolas CHARLES over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

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 issues 1 (0 open1 closed)

Related to Rudder - Bug #15896: Normalize datetime format to ISO8601/rfc3339ReleasedNicolas CHARLESActions
Actions #1

Updated by Nicolas CHARLES over 5 years ago

most likely related to #15896

Actions #3

Updated by Nicolas CHARLES over 5 years ago

ok, every date are invalid, even

2019-11-14 01:05

Actions #5

Updated by Nicolas CHARLES over 5 years ago

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

Actions #11

Updated by Vincent MEMBRÉ over 5 years ago

  • 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
Actions #12

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #13

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF