Project

General

Profile

Actions

Bug #26718

closed

When the JSON property is invalid in global properties, the error is nasty

Bug #26718: When the JSON property is invalid in global properties, the error is nasty

Added by Nicolas CHARLES 10 months ago. Updated 5 months ago.

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

Description

I created a globap property with the following value
["blu]

as a result, I got this error


Files

Updated by François ARMAND 10 months ago Actions #1

  • Subject changed from When the JSON property is invalid, the error is nasty to When the JSON property is invalid in global properties, the error is nasty
  • Assignee set to Clark ANDRIANASOLO
  • Priority changed from To review to 2

The idea is to catch json unserialisation error and give a nice "JSON parsing error" error.

Updated by Vincent MEMBRÉ 9 months ago Actions #2

  • Target version changed from 8.2.6 to 8.2.7

Updated by Vincent MEMBRÉ 8 months ago Actions #3

  • Target version changed from 8.2.7 to 8.2.8

Updated by Félix DALLIDET 7 months ago Actions #4

  • Target version changed from 8.2.8 to 8.2.9

Updated by Clark ANDRIANASOLO 5 months ago Actions #5

  • Status changed from New to In progress

Updated by Clark ANDRIANASOLO 5 months ago Actions #6

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/6578

Updated by Clark ANDRIANASOLO 5 months ago Actions #7

  • Status changed from Pending technical review to Pending release

Updated by François ARMAND 5 months ago Actions #8

clipboard-202509041545-pou9r.png

Works as expected

Updated by Vincent MEMBRÉ 5 months ago Actions #9

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.2.9 and 8.3.4 which were released today.

Actions

Also available in: PDF Atom