Can't unset a VLAN name via the websocket API
Bug #1959739 reported by
Huw Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Low
|
Björn Tillenius |
Bug Description
When submitting updates to a VLAN you can't unset the name. There are no errors, it just does nothing.
{
"method": "vlan.update",
"type": 0,
"params": {
"id": 5104,
"description": "a description",
"fabric": 3,
"mtu": 1500,
"name": "",
"space": 10,
"vid": 5
},
"request_id": 27
}
Related branches
~bjornt/maas:clear-vlan-name
Merged
into
maas:master
- Alberto Donato: Approve
- MAAS Lander: Approve
-
Diff: 79 lines (+35/-8)2 files modifiedsrc/maasserver/forms/vlan.py (+7/-8)
src/maasserver/websockets/handlers/tests/test_vlan.py (+28/-0)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 3.2.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I went ahead and fixed this while confirming it was indeed the case.