Skip to content

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

Open
@frolino

Description

@frolino

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions