BIND 10 #2926: Delete followed by add in a list should restore defaults

BIND 10 Development do-not-reply at isc.org
Thu Apr 25 14:31:44 UTC 2013


#2926: Delete followed by add in a list should restore defaults
---------------------------------+-----------------------------------------
            Reporter:  vorner    |                        Owner:
                Type:  defect    |                       Status:  new
            Priority:  medium    |                    Milestone:  New Tasks
           Component:  bind-ctl  |                   Resolution:
            Keywords:            |                 CVSS Scoring:
           Sensitive:  0         |              Defect Severity:  Low
         Sub-Project:  Core      |  Feature Depending on Ticket:
Estimated Difficulty:  0         |          Add Hours to Ticket:  0
         Total Hours:  0         |                    Internal?:  0
---------------------------------+-----------------------------------------
Description changed by vorner:

Old description:



New description:

 If I delete the last item of a list and then immediately add it again, I'd
 expect it to be a fresh new instance of the item, full of juicy new
 values, not the old crap I deleted before:

 {{{
 > config show Xfrout/also_notify
 Xfrout/also_notify[0]/address   "46.255.230.98" string
 Xfrout/also_notify[0]/port      53      integer
 Xfrout/also_notify[1]/address   "1.2.3.4"       string
 Xfrout/also_notify[1]/port      1234    integer
 > config remove Xfrout/also_notify[1]
 > config show Xfrout/also_notify
 Xfrout/also_notify[0]/address   "46.255.230.98" string  (modified)
 Xfrout/also_notify[0]/port      53      integer (modified)
 > config add Xfrout/also_notify
 > config show Xfrout/also_notify
 Xfrout/also_notify[0]/address   "46.255.230.98" string  (modified)
 Xfrout/also_notify[0]/port      53      integer (modified)
 Xfrout/also_notify[1]/address   "1.2.3.4"       string
 Xfrout/also_notify[1]/port      1234    integer
 }}}

--

-- 
Ticket URL: <http://bind10.isc.org/ticket/2926#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list