Project

General

Profile

Bug #15943

Date handling in API Token Creation is broken

Added by Nicolas CHARLES about 1 month ago. Updated 15 days ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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

Related to Rudder - Bug #15896: Normalize datetime format to ISO8601/rfc3339ReleasedActions

Associated revisions

Revision 2aed456c (diff)
Added by Vincent MEMBRÉ 22 days ago

Fixes #15943: Date handling in API Token Creation is broken

History

#1

Updated by Nicolas CHARLES about 1 month ago

most likely related to #15896

#2

Updated by Nicolas CHARLES about 1 month ago

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

Updated by Nicolas CHARLES about 1 month ago

ok, every date are invalid, even

2019-11-14 01:05

#4

Updated by Nicolas CHARLES about 1 month ago

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

Updated by Nicolas CHARLES about 1 month 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

#6

Updated by Vincent MEMBRÉ about 1 month ago

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

Updated by François ARMAND about 1 month ago

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

Updated by Raphael GAUTHIER about 1 month ago

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

Updated by François ARMAND 23 days ago

  • Assignee changed from Raphael GAUTHIER to Elaad FURREEDAN
#10

Updated by Vincent MEMBRÉ 22 days ago

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

Updated by Vincent MEMBRÉ 22 days 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
#12

Updated by Vincent MEMBRÉ 22 days ago

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

Updated by Vincent MEMBRÉ 15 days ago

  • 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