-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"TypeError: Cannot read property 'shallowEqualKeys' of undefined" if loading a spec from localStorage #2099
Comments
Working on fix by introducing top level Error Boundary that will simulate the behavior of v3. |
[email protected] has been released yesterday, containing proper error handling using React Error Boundaries. Working on fix for Editor. |
char0n
added a commit
to swagger-api/swagger-ui
that referenced
this issue
Nov 26, 2021
17 tasks
char0n
added a commit
to swagger-api/swagger-ui
that referenced
this issue
Nov 26, 2021
char0n
added a commit
that referenced
this issue
Nov 26, 2021
Main fix was introduced as part of [email protected]. Refs #2099
17 tasks
char0n
added a commit
that referenced
this issue
Nov 26, 2021
Main fix was introduced as part of [email protected]. Refs #2099
Fix released as [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Q&A (please complete the following information)
Describe the bug you're encountering
If you paste the spec provided below into Editor and then refresh the page, this causes many console errors, and schemas cannot be expanded in the UI.
Steps to reproduce
=> Note that UI is rendered correctly, and there are no errors in the browser console.
5. Refresh the editor page (F5).
6. Try to expand the schema in the UI.
Actual results
Schema cannot be expanded in the UI, and there are errors in the browser console:
Expected results
No console errors. Schema can be expanded in the UI.
The text was updated successfully, but these errors were encountered: