Project

General

Profile

Actions

Bug #20491

closed

Error message in technique editor doesn't help

Added by Elaad FURREEDAN 11 months ago. Updated 11 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

Description

When an error occurs in technique editor, a notification with a generic message tell us that an error occured, but nothing more, which is a shame since the API return an error message, which most of the time, tell us what goes wrong.
For example, when we try to save a technique that already exist, we have an error notification (See screenshot) :

Error when saving technique: The server had a problem, try again later

But the API provides a clear error message about what happen
"Could not create ncf technique <- Technique name and ID must be unique. 'Toto' already used" 

We should at least be able to display the error message response from the API.


Files

error_technique_msg.png (69.6 KB) error_technique_msg.png Elaad FURREEDAN, 2021-12-29 21:38

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #20133: Technique editor allows id with only case difference, do an error, but still save techniqueReleasedNicolas CHARLESActions
Actions #1

Updated by Elaad FURREEDAN 11 months ago

  • Status changed from New to In progress
Actions #4

Updated by Elaad FURREEDAN 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Elaad FURREEDAN to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/4078
Actions #5

Updated by Elaad FURREEDAN 11 months ago

  • Related to Bug #20133: Technique editor allows id with only case difference, do an error, but still save technique added
Actions #6

Updated by Anonymous 11 months ago

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

Updated by Vincent MEMBRÉ 11 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~rc3 which was released today.

Actions

Also available in: Atom PDF