Skip to content
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

Error handling: Out of bounds post ID leads to undefined exception #17

Open
frolino opened this issue May 4, 2016 · 0 comments
Open

Comments

@frolino
Copy link

frolino commented May 4, 2016

How to replicate:

  1. Click on "Posts" while in the main page.
  2. Click on one of the posts. This will cause the post to show up on the right side.
  3. In the address bar, change the post ID in the URL to an out-of-bounds post ID (i.e., the URL is of the form index.html#/posts/{id}, so change {id} to a post ID that doesn't correspond to any of the posts). Click enter.
  4. Refresh the page. This will case a blank page to appear, and the exception "a is undefined" is thrown by JavaScript.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant