Uploaded image for project: 'jsonrpc'
  1. jsonrpc
  2. JSONRPC-38

Path to list item within container can't be read by yangtools

    XMLWordPrintable

Details

    • Bug
    • Status: Verified
    • High
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Neon-Sr3, Sodium-Sr2, Master

    Description

      First of all, this issue was introduced by fix for JSONRPC-28 which in fact did right thing, but also allows exception to propagate that was previously transformed to Future (in JsonRpcTx):

       

      try { 
          rootJson = jsonConverter.fromBus(path, omshard.read(store2str(store2int(store)), peer.getName(), arg.getPath())); 
      } catch (Exception e) { 
        return readFailure(e); 
      }
      

       

      Immediate fix it put this logic back, but also another bigger task that is to extend (or create in first place) CSIT suite to exercise CRUD operations on "test service". This has to include various YANG constructs (list in container, container as list item, etc ...) to ensure all data operations are handled correctly.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rkosegi Richard Kosegi
            rkosegi Richard Kosegi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: