[NETCONF-410] Apidoc: Incomprehensible 500 id model is wrong Created: 26/Apr/17 Updated: 15/Mar/19 Resolved: 02/May/17 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Vratko Polak | Assignee: | Miroslav Kovac |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8311 |
| Description |
|
This is exactly I am not sure what is the contract between apidoc and Yangtools. Should the offending model be rejected already when installing its feature? To fix, the error message should locate the offending Yang statement. Not sure what the correct Http status code would be, but so far 500 was always a bug. |
| Comments |
| Comment by Robert Varga [ 27/Apr/17 ] |
|
Since it's a NPE in the generator, it has to be handled there. |
| Comment by Miroslav Kovac [ 28/Apr/17 ] |
| Comment by Miroslav Kovac [ 02/May/17 ] |
|
new fix was created -> https://git.opendaylight.org/gerrit/#/c/56386/ old one caused a faulty leafref resolving in some of the yang files |