I've noticed a number of bugs that I'd like to see addressed. I sent most of them to the bug tracker that was posted here in the forums a while back, but it doesn't seem to be updating, so I'm posting them here:
Level pages don't seem to load; whenever I try to look at one, it shows a black screen
Ties in the sorting algorithm seem to be broken by random selection, which produces very inconsistent results and can sometimes result in having to flip back and forth between pages to see everything
I suggest using unique IDs (either the ones on the site here or, for levels, the in-game ID) as a secondary sorting method to make sure the results look the same every time
Some levels have duplicate reviews — please find a way to delete them
Scores of 0 are automatically shown as N/A and are not counted towards a level's average ratings
Maybe N/A could be -1 instead?
Trying to create a playlist throws a 500 error
Level pages don't seem to load; whenever I try to look at one, it shows a black screen
First off, I assumed this was a one-off or odd cache bug but I am SO SORRY it took this long for me to check up on these. Got a job in IT and I haven't had as much free time anymore so I wanna apologize a thousand times. Fixed.
Ties in the sorting algorithm seem to be broken by random selection
Ties are now broken by in-game level id
Some levels have duplicate reviews
Unsure what causes this one. I will hunt to find duplicates and also what might cause it. By default the code that inserts a review into the database in a way that always edits instead if there is an existing one already so this may be similar to bug #1 where the same exact review appears twice across pages. Will check further and also let you report reviews with a general category for duplicates (even though again, it should not be possible for a user to have more than one review for a level, I will also enforce this in the database schema itself).
Scores of 0 are automatically shown as N/A
This was due to a 1 line bug due to JS interpreting 0 as false. N/A reviews are already represented in the database as "null"
Trying to create a playlist throws a 500 error
Was unable to reproduce this one even with no changed made. Can you try again?
Thanks for getting all the other bugs fixed, and congratulations on your job!
As for the playlist bug, it appears to be fixed; I was able to create a playlist without getting a 500 error. However, nothing seemed to happen when I tried to submit a level to the playlist, and trying to set it to private threw a 403 error. Could there still be something going wrong there?
Hyperbolus uses cookies and local browser storage to enable basic functionality of the site. If we make any changes to these options we will ask for your consent again.
sorry about this gang