Malformed JSON in test script parameters
Bug #1843759 reported by
Steve Rydz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Lee Trager |
Bug Description
When adding a test script that has parameters such as the "internet-
See example: https:/
In this case the single quotes should be double quotes and booleans should not be capitalised. This makes it impossible to parse on the front-end therefore preventing it from allowing the user to add to the parameters via the UI.
Related branches
~ltrager/maas:lp1843759
Merged
into
maas:master
- MAAS Lander: Needs Fixing
- Blake Rouse (community): Approve
-
Diff: 63 lines (+8/-8)3 files modifiedsrc/maasserver/websockets/base.py (+1/-1)
src/maasserver/websockets/handlers/script.py (+2/-2)
src/maasserver/websockets/handlers/tests/test_script.py (+5/-5)
Changed in maas: | |
milestone: | none → next |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 2.7.0b1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The UI should be looking at the interface field which contains the id of the interface. If one exists the the UI can map that id on the nose model.
The parameters field should not be used as it may not be current.