bnolan / bnolan/Backbone-Mobile
Error Handling: Incorrect ID leads to undefined exception
Open
- Dominant language
- JavaScript
- Stars
- 244
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
In the demo, the URL for a particular location is as follows:
http://www.bennolan.com/science/backbone-mobile/#{id}
where {id} is the location identifier. If you manually type an incorrect {id} in the URL, an exception is thrown (this.model is undefined), instead of failing gracefully.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the demo by opening the location URL with an invalid id, then trace where the undefined this.model exception is raised. Done means an incorrect location id fails gracefully instead of throwing an exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100