[NETCONF-320] Query param fields - not working with more than one nested fields Created: 23/Nov/16  Updated: 02/Apr/19  Resolved: 02/Apr/19

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: Sodium

Type: Bug
Reporter: Juraj Kosmel Assignee: Jakub Morvay
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7226

 Description   

Let's have a structure
{
"services": {
"service": [
{
"type": "config:test",
"instance": [

{ "name": "testName", "provider": "testProvider" }

]
},
...

GET request with query parameter fields=service(type;instance/name;instance/provider) results in error "Child instance node missing in instance".

Request with fields=service(type;instance(name;provider)) is working fine.

Both of them should work.


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