[NETCONF-786] ODL does not consider error-msg statement in yang file at RESTCONF Created: 24/Jun/21 Updated: 08/Jul/21 Resolved: 29/Jun/21 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0, 1.13.3 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Onur GURSOY | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | restconf | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
| Comments |
| Comment by Robert Varga [ 24/Jun/21 ] |
|
It would seem the exception handling code does not recognize YangInvalidValueException, or more specifically yang.common.YangError being attached to an exception. |
| Comment by Onur GURSOY [ 24/Jun/21 ] |
|
you're master, you're right. In that case, what we can do ? we can release hottfix or we should wait next release date? I guess, it can be 27 July, right? Or we can release a patch unofficial? Btw, you can describe that where is the exception handling code ? you know that there are many project and source of the ODL.Maybe, I can try to help. Many thanks, With My Best Regards, |
| Comment by Robert Varga [ 28/Jun/21 ] |
|
The error handling is quite tricky here, but https://git.opendaylight.org/gerrit/c/netconf/+/96683 should work for this particular case. |