The "authoritative" field value is ignored when creating/editing domains

Bug #1830619 reported by Alberto Donato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
High
Unassigned

Bug Description

When creating a domain, the value passed for the "authoritative" field is ignored, and the domain is always created as authoritative.

I tried

maas $profile domains create name=mydomain authoritative=false

maas $profile domains create name=mydomain authoritative=0

Looking the cleaned_data for the form, the "authoritative" field is not included.

The same behavior happens when trying to update the value.

Alberto Donato (ack)
summary: - The "authoritative" field value is ignored when creating domains
+ The "authoritative" field value is ignored when creating/editing domains
description: updated
Changed in maas:
importance: Undecided → High
Revision history for this message
Adam Collard (adam-collard) wrote :

This sounds very similar to the issue on https://discourse.maas.io/t/cant-create-an-unmanaged-subnet-with-maas-api/1029 - think we have issues setting false-y values over the API

Changed in maas:
assignee: nobody → Adam Collard (adam-collard)
Changed in maas:
assignee: Adam Collard (adam-collard) → nobody
Changed in maas:
milestone: none → 3.4.0
status: Triaged → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.0-beta2
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.