BIND 10 #1344: Bindctl can't set value of optional empty value

BIND 10 Development do-not-reply at isc.org
Fri Oct 21 15:52:56 UTC 2011


#1344: Bindctl can't set value of optional empty value
-------------------------------------+-------------------------------------
            Reporter:  vorner        |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  major         |                    Milestone:  Next-
           Component:  bind-ctl      |  Sprint-Proposed
           Sensitive:  0             |                     Keywords:
         Sub-Project:  Core          |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 If there's a variable in config that has no default value and is optional
 (therefore it is allowed for it not to be there and by default it isn't
 there), it is impossible to set it. The possibility is to set the whole
 parent providing JSON directly, which is not convenient.

 Example (expecting to be on the now unmerged #213 branch, as I'm not aware
 of such variable in master):

 {{{
 > config show Boss/components/b10-cmdctl/
 Boss/components/b10-cmdctl//special     "cmdctl"        string  (modified)
 Boss/components/b10-cmdctl//process     null    string
 Boss/components/b10-cmdctl//kind        "needed"        string  (modified)
 Boss/components/b10-cmdctl//address     null    string
 Boss/components/b10-cmdctl//params/     list
 > config set Boss/components/b10-cmdctl/process "cat"
 Error: process not found in /Boss/components/b10-cmdctl/
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/1344>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list