mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #74] App is broken with old history in localStorage #32
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nickpalenchar on GitHub (Aug 28, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/74
Describe the bug
Starting after
271bd06(or perhaps around then), old localStorage from a user agent causes the app to break when navigating to the app.To Reproduce
Steps to reproduce the behavior:
[{"time":"2:57:54 PM","method":"POST","url":"https://reqres.in","path":"/api/users"},{"time":"2:56:30 PM","method":"GET","url":"https://reqres.in","path":"/api/users"},{"time":"10:33:28 AM","method":"GET","url":"https://reqres.in","path":"/api/users"}]Expected behavior
The app should fully load, any old history that can't be deciphered should be displayed with as much information as possible.
Desktop (please complete the following information):
@nickpalenchar commented on GitHub (Aug 28, 2019):
FYI I have a working solution that I am preparing 😎
@liyasthomas commented on GitHub (Aug 28, 2019):
I suspect this is the reason for few other issues that have reported and solved on flushing cache and local storage 🤔
Btw, these kinda people (@nickpalenchar) are 💎
@nickpalenchar commented on GitHub (Aug 28, 2019):
Agreed it's most likely the cause of other people's issues re: clearing cache/storage. What's nice is this bug points out a clear area to tackle when thinking about tests re #65.
It would be awesome to have some sort of regression tests, but quick(er) win would probably be to start in an e2e testing--something that would verify there are only expected properties (adding new ones would be fine, but the contributor would then have to acknowledge the change by updating the tests.). But that's a discussion for another feature
@liyasthomas commented on GitHub (Sep 6, 2019):
@all-contributors please add @nickpalenchar for code
@allcontributors[bot] commented on GitHub (Sep 6, 2019):
@liyasthomas
We had trouble processing your request. Please try again later.