View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002289 | HTML & PERL | Bug Report - Interface | public | 2015-06-07 15:30 | 2016-02-25 02:18 |
Reporter | Hinoe | Assigned To | DerIdiot | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0002289: Timeline breaks massively following end date before start date | ||||
Description | Whenever a userlist entry has a show with an end date (list-wise, i.e. finished watching) before the start date (again, list-wise, i.e. started watching), things break pretty massively, with the list going waaaaaaaaaaaaaaaaaaaaay to the right, and apparently back, and becoming lots of nonsense in general. While the data being fed to the timeline algorithm is clearly broken, it should at least fail more gracefully. This has been discovered upon inspecting Abystoma's timeline, so you may want to check that: http://anidb.net/perl-bin/animedb.pl?show=timeline&uid=649548 | ||||
Steps To Reproduce | http://anidb.net/perl-bin/animedb.pl?show=timeline&uid=649548 Go to the right. Keep going to the right. And keep going. For a very long time, enough to see the anime started in 2100 at the earliest. If Abystoma's timeline has been fixed, force your own 2014 anime to start watching in 2014 but finish watching in 1999 or 2000. Actually buying a time machine to allow that to happen legitly is optional. Watch as the world burns? | ||||
Additional Information | This is actually a two-fold bug. Sure, the timeline is broken due to an unexpected date combination. However, that absurd combination clearly isn't ever legit, and therefore it shouldn't be allowed; sanity checks for data inputs are clearly missing and, while adding the timeline to fail more graciously is a nice idea, sanitizing the data inputs is the main issue and is the higher priority one among the two. Cuan has suggested that this might be an issue with imports but not with manual date setting; I haven't tested either, but it's at least a reminder that, aside manual editing of the list entries, imports should also be sanitized. Perhaps checking against actual anime air dates would be also nice, but that would imply also forbidding users from adding generic files before the episodes air, which may be unwanted (I find that silly, but it might be useful to some... I... guess?). | ||||
Tags | No tags attached. | ||||