[JSONRPC-38] Path to list item within container can't be read by yangtools Created: 31/Jan/20  Updated: 29/May/20  Resolved: 29/May/20

Status: Verified
Project: jsonrpc
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Richard Kosegi Assignee: Richard Kosegi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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.

 


Generated at Wed Feb 07 20:05:22 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.