mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 19:20:13 +01:00
This bug was caused when the chart encountered data outside of its visible range (i.e., the upper bound of the array size). A test was added that inserts some data from 2 years and 16 months in the past. The test failed on the old version, throwing exactly the error in bug report #1442. The fix is to check whether or not the value is within the array range before sending the "+=" operator. With this change, the test passes. |
||
|---|---|---|
| .. | ||
| todos | ||
| application_controller.rb | ||
| calendar_controller.rb | ||
| contexts_controller.rb | ||
| data_controller.rb | ||
| feedlist_controller.rb | ||
| integrations_controller.rb | ||
| login_controller.rb | ||
| notes_controller.rb | ||
| preferences_controller.rb | ||
| projects_controller.rb | ||
| recurring_todos_controller.rb | ||
| search_controller.rb | ||
| stats_controller.rb | ||
| todos_controller.rb | ||
| users_controller.rb | ||