joffrey-bion / livedoc

A not-so-annotation-based documentation generator for REST and websocket services
MIT License
5 stars 2 forks source link

Livedoc UI throws client-side exception when no flows exist #103

Closed jpeffer closed 6 years ago

jpeffer commented 6 years ago

Livedoc UI throws client-side exception when no flows exist. Below is a screenshot of the exception that occured:

livedoc flows exception

joffrey-bion commented 6 years ago

I cannot reproduce this issue with Livedoc 4.4.1. The absence of flows doesn't break anything when I try to reproduce, I happen to have a "Flows" tab, and it leads to a page with no flows, but working fine.

Could you please make sure you are using the same version of Livedoc in the UI and the backend, and maybe try clearing your local storage?

This should not be necessary anymore in later versions of Livedoc, as they will check the version in the local storage data and fetched data.

joffrey-bion commented 6 years ago

Closing as duplicate of https://github.com/joffrey-bion/livedoc/issues/104. Parent issue: https://github.com/joffrey-bion/livedoc/issues/106