Project

General

Profile

Actions

Bug #3790

closed

API Account Token can not be regenerated

Added by Vincent MEMBRÉ over 11 years ago. Updated over 11 years ago.

Status:
Released
Priority:
1 (highest)
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Since we got event logs for API Accounts #3766, the token regeneration is not working.

When we click on the regenerate button, the token is correctly reloaded but there is an error while saving the event log.

The last generation date is not checked by the event log generation, so it throws an error saying that this change is not a valid change (because it has unvalid changes).

[2013-07-29 13:43:26] ERROR com.normation.rudder.web.rest.RestApiAccounts - Could not regenerate account with token nowmSusN5o9qh2htIhONyznuHFtBPyRJ cause : Unknown diff attribute: apiTokenCreationTimestamp
Actions

Also available in: Atom PDF