[NETCONF-303] Wrong error message for not-existing module behind mount point Created: 20/Oct/16  Updated: 15/Mar/19  Resolved: 06/Mar/17

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

Type: Bug
Reporter: Ivan Hrasko Assignee: Andrej Mak
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: 6996

 Description   

GET http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/not-existing-module:container-a

Response:
{
"errors": {
"error": [

{ "error-type": "protocol", "error-tag": "unknown-element", "error-message": "\"yang-ext\" module does not exist in mount point." }

]
}
}

but better is:
"error-message": "The module named 'not-existing-module' does not exist in mount point."

[ControllerContext:567, 592]



 Comments   
Comment by Andrej Mak [ 06/Mar/17 ]

https://git.opendaylight.org/gerrit/#/c/52724/

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