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.
Description
I created a globap property with the following value
["blu]
as a result, I got this error

Files
- 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.
- Target version changed from 8.2.6 to 8.2.7
- Target version changed from 8.2.7 to 8.2.8
- Target version changed from 8.2.8 to 8.2.9
- Status changed from New to In progress
- 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
- Status changed from Pending technical review to Pending release
Works as expected

Also available in: Atom
PDF