Well, for now it looks much like one strange bug we've encountered. We didn't attribute it to an upgrade, but the real cause is still unknown.
To gather more info, please execute the attached SQL file on your system.
It will probe for some possible reasons of the bug, including verification if it's like the one we've found.
In a case you have privacy/security concerns here. These five queries perform a read-only access to your DB, getting from it only those data that are needed for the bug identification. No test/question texts are retrieved.
To run the SQL file:
1. Replace all the "***"s in the attached probe.sql with the test's id.
2. Start the Linux shell, go to the directory that probe.sql is in, and type this command:
[b]mysql -u "user" -p "database" < probe.sql > result.txt[/b]
where "user" should be replaced with the database user name that you've input when installing ATutor (probably "root"; if not sure, look in file include/config.inc.php),
"database" -- with the database name (look in the same file).
3. Press Enter. You'll be asked for the DB password (again, see that very same file).
If everything runs smoothly, you should see no error messages, and there should appear a non-empty file result.txt.
4. Attach the result.txt here. Don't forget to select "Public" before posting.
Also answering some background questions will add up for the clarity:
1. Does this bug occur in tests created after the upgrade?
2. Does this bug happen only in randomized tests, or only not randomized, or both?
3. Does toggling "Randomize Questions" in test properties change anything?
4. Did you restore tests or entire courses from backups before the bug appeared? If so, do you remember if there were any error messages?
5. Did you change the structure of the DB tables -- added fields, changed their order, etc.? Or changed the PHP code in the files of the test area?
Sorry for that many questions. Locating a bug and ruling out its potential sources usually requires a lot of info.
That should help.
If it doesn't, then I'll probably be able to log to your installation the next week.
But before, let it be made clear that I don't represent the ATutor developers; I'm just a community member.