Project

General

Profile

Actions

Bug #15943

closed

Date handling in API Token Creation is broken

Added by Nicolas CHARLES over 4 years ago. Updated over 4 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 4 years ago

most likely related to #15896

Actions #2

Updated by Nicolas CHARLES over 4 years ago

  • Related to Bug #15896: Normalize datetime format to ISO8601/rfc3339 added
Actions #3

Updated by Nicolas CHARLES over 4 years ago

ok, every date are invalid, even

2019-11-14 01:05

Actions #4

Updated by Nicolas CHARLES over 4 years ago

  • Subject changed from Date handling in API Token Creation is annoying to Date handling in API Token Creation is broken
Actions #5

Updated by Nicolas CHARLES over 4 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 #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.0~beta1 to 6.0.0
Actions #7

Updated by François ARMAND over 4 years ago

  • Target version changed from 6.0.0 to 6.0.0~beta1
Actions #8

Updated by Raphael GAUTHIER over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Raphael GAUTHIER
Actions #9

Updated by François ARMAND over 4 years ago

  • Assignee changed from Raphael GAUTHIER to Elaad FURREEDAN
Actions #10

Updated by Vincent MEMBRÉ over 4 years ago

  • Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
Actions #11

Updated by Vincent MEMBRÉ over 4 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 4 years ago

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

Updated by Vincent MEMBRÉ over 4 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