Can't unset a VLAN name via the websocket API

Bug #1959739 reported by Huw Wilkins
6
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

Revision history for this message
Björn Tillenius (bjornt) wrote :

I went ahead and fixed this while confirming it was indeed the case.

Changed in maas:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Björn Tillenius (bjornt)
milestone: none → next
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.