View Issue Details

IDProjectCategoryView StatusLast Update
0002289HTML & PERLBug Report - Interfacepublic2016-02-25 02:18
ReporterHinoe Assigned ToDerIdiot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0002289: Timeline breaks massively following end date before start date
DescriptionWhenever 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 Reproducehttp://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 InformationThis 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?).
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-06-07 15:30 Hinoe New Issue
2016-02-23 02:12 DerIdiot Assigned To => DerIdiot
2016-02-23 02:12 DerIdiot Status new => assigned
2016-02-25 02:18 DerIdiot Status assigned => resolved
2016-02-25 02:18 DerIdiot Resolution open => fixed