[NETCONF-433] apidoc explorer show/hide and list operations no longer works Created: 26/Jun/17  Updated: 15/Mar/19  Resolved: 21/Aug/17

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

Type: Bug
Reporter: Ryan Goulding Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File karaf.log    
External issue ID: 8752

 Description   

Following transition from org.json to jackson apidoc explorer no longer works properly.



 Comments   
Comment by Ryan Goulding [ 26/Jun/17 ]

Attachment karaf.log has been added with description: karaf.log

Comment by Yrineu Felipe Rodrigues [ 30/Jun/17 ]

It follows the error message that appear at Browser console when APIDoc explorer:

Uncaught TypeError: Cannot read property 'id' of null
at new SwaggerModel (swagger.js:452)
at SwaggerResource.addModels (swagger.js:353)
at SwaggerResource.addApiDeclaration (swagger.js:335)
at process.EventEmitter.response (swagger.js:309)
at process.EventEmitter.EventEmitter.emit (shred.bundle.js:1391)
at emit (shred.bundle.js:1191)
at shred.bundle.js:1211
at setBodyAndFinish (shred.bundle.js:1815)
at module.exports.<anonymous> (shred.bundle.js:1832)
at module.exports.EventEmitter.emit (shred.bundle.js:1388)

Comment by Yrineu Felipe Rodrigues [ 30/Jun/17 ]

It follows a patch with a fix:
https://git.opendaylight.org/gerrit/#/c/59804/

Comment by Allan Clarke [ 21/Aug/17 ]

It looks like this bug is fixed and merged.
I am going to close it.
Let me know if this is incorrect.

Comment by Yrineu Felipe Rodrigues [ 21/Aug/17 ]

(In reply to Allan Clarke from comment #4)
> It looks like this bug is fixed and merged.
> I am going to close it.
> Let me know if this is incorrect.

yes, it's correct. Thanks!

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