Project

General

Profile

Actions

Bug #26718

open

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

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

Status:
Pending release
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

Actions #1

Updated by François ARMAND 5 months ago

  • 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.

Actions #2

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 8.2.6 to 8.2.7
Actions #3

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 8.2.7 to 8.2.8
Actions #4

Updated by Félix DALLIDET about 2 months ago

  • Target version changed from 8.2.8 to 8.2.9
Actions #5

Updated by Clark ANDRIANASOLO 12 days ago

  • Status changed from New to In progress
Actions #6

Updated by Clark ANDRIANASOLO 12 days ago

  • 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
Actions #7

Updated by Clark ANDRIANASOLO 7 days ago

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

Updated by François ARMAND 5 days ago

Works as expected

Actions

Also available in: Atom PDF