Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Loader halts if invalid url is provided #102

Open
danielbcorreia opened this issue Jun 8, 2016 · 0 comments
Open

Loader halts if invalid url is provided #102

danielbcorreia opened this issue Jun 8, 2016 · 0 comments

Comments

@danielbcorreia
Copy link
Contributor

For example, if you access an API at:

http://localhost:3000/operation/Something-API-get-xpto/try-it

and then change the API name from "Something-API" to "Other-API", reloading this url will cause this line to fail with an access to "size" over an undefined:

operation = operation.size > 0 ? operation.toJS() : null

On WidgetWrapper.js

@cguedes cguedes modified the milestone: API Explorer 0.2.6 Nov 4, 2016
@danielbcorreia danielbcorreia modified the milestone: API Explorer 0.2.8 Nov 17, 2016
@danielbcorreia danielbcorreia self-assigned this Nov 17, 2016
@cguedes cguedes modified the milestones: API Explorer 0.2.8, API Explorer 0.3.0 Nov 25, 2016
@cguedes cguedes added the ready label Feb 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants