The Juju GUI doesn't use juju unset for config updates

Bug #1279414 reported by Jeff Pihach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-gui
Triaged
Low
Unassigned

Bug Description

At the moment input fields in config options are converted to `null` if their value is "" before being sent to Juju (see views/utils.js:_getElementsValuesMapping() and then views/utils.js:getChangedConfigOptions()). We may be able to simply check for these null values and use the `juju unset` api call to unset them.

Still unanswered: Can boolean values be unset? Can a config option be configured as a boolean but without a default?

Jeff Pihach (hatch)
description: updated
Jeff Pihach (hatch)
description: updated
Changed in juju-gui:
importance: Undecided → Low
Curtis Hovey (sinzui)
Changed in juju-gui:
status: New → Triaged
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.