Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-512

8040 code cannot serialize Leaf Lists

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Oxygen SR4
    • Nitrogen SR1
    • restconf-nb
    • I am feeding it via json rpc, but this should blow up on anything else. It should not be difficult to concoct a test model and feed it to it.

      The 8040 code blows up when fed an object with a leaf list.

      It reaches line 624 in ReadDataTransactionUtil.java which is "I do not know this type of node, I give up".

      Looking at the code leaf-list type which in YangTools is called LeafSetNode is missing as an option in the preceding conditional in private static NormalizedNode<?, ?> prepareData

            tpantelis Tom Pantelis
            aivanov Anton Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: