BIND 10 #3373: Python cc data merge function does not properly merge map sub elements

BIND 10 Development do-not-reply at isc.org
Sat Mar 8 00:26:22 UTC 2014


#3373: Python cc data merge function does not properly merge map sub elements
-------------------------------------+-------------------------------------
            Reporter:  tmark         |                        Owner:  tmark
                Type:  defect        |                       Status:
            Priority:  medium        |  assigned
           Component:  dhcp-ddns     |                    Milestone:  DHCP-
            Keywords:                |  Kea0.9
           Sensitive:  0             |                   Resolution:
         Sub-Project:  DHCP          |                 CVSS Scoring:
Estimated Difficulty:  4             |              Defect Severity:  N/A
         Total Hours:                |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  3
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by tmark):

 * hours:  0 => 3
 * totalhours:  0 =>


Comment:

 Modified the function to correctly do deep merges of map elements.  Added
 unit test for specific case that failed when merge used dict.update.


 ChangeLog entry:
 {{{
 7xx.    [bug]       tmark
     Python configuration library now properly merges changes into
     configuration items that are maps of items.  This corrects a
     defect in which a change to an item in a map of items could
     committed, only to be lost upon committing a subsequent change
     to same map of items during the same bindctl session.
 }}}

-- 
Ticket URL: <https://bind10.isc.org/ticket/3373#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list