First reproduced bug: off by one - acli/ATutor GitHub Wiki
The first reproduced bug belonged to the off-by-one series of bugs, as noted in issues 19 and 20. However, the observations turned out to be different. It is not currently clear whether something has changed in the ATutor code base or whether the original observations were incorrectly recorded.
- When we got to the 11th post (i.e., the 10th comment) a link to page 2 appears, but there is no page 2
- When we pressed the “2" link we got onto a blank page with no backlink to page 1
- The affected source files were index.php and view.php
- Grepping for “Page:” reveals that the source of the bug is likely html/forum.inc.php
- Why are we truncating subjects to 28 characters? (or actually 25?)
- Why are we generating inline styling?
- The number of comments listed was not carefully observed. We need to roll back the database to a previous state and then re-observe whether there are indeed a bug related to this piece of information.
- We need to somehow really figure out to do automated testing. This kind of bug is one of those easily testable things—if the ATutor codebase were not so unnecessarily dependent on Javascript.