BIND 10 #967: nested lists in configuration doesn't work
BIND 10 Development
do-not-reply at isc.org
Mon May 30 09:10:47 UTC 2011
#967: nested lists in configuration doesn't work
-------------------------------------+-------------------------------------
Reporter: jelte | Owner: vorner
Type: | Status: reviewing
defect | Milestone:
Priority: major | Sprint-20110531
Component: | Resolution:
configuration | Sensitive: 0
Keywords: | Sub-Project: Core
Defect Severity: N/A | Estimated Difficulty: 2.0
Feature Depending on Ticket: | Total Hours: 0
Add Hours to Ticket: |
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by jelte):
* owner: jelte => vorner
Comment:
Yes; but it kinds of depend where the previous 'iteration' left it (or
whether it's the first). For instance, the initial type is a list (of
dicts), and so is a map specification. But the element containing said
specification is itself a dict.
This did remind me to run coverage again, and one of the paths wasn't hit
in the tests. So I added another test (and found a potential problem due
to the second branch not checking the name).
This part has gotten quite hairy, and I am thinking about cleaning this up
(by not passing around bare structures but making some nice Specification
classes that can be serializable into JSON. As we are planning on
extending the set of types the current code would only become more
complicated)
--
Ticket URL: <http://bind10.isc.org/ticket/967#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list