[Fixed] Duplicate song records

Information and error posts in regards to testing.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

[Fixed] Duplicate song records

Postby Izzy » Mon Oct 15, 2012 8:15 am

It seems that if you play the same file multiple times in a row you get duplicate scores in the database.

Example here. I only played it 3-4 times.
http://stepmaniaonline.net/index.php?pa ... 17&sid=361

User avatar
Angelo
Posts: 72
Joined: Sat Oct 06, 2012 4:31 am
Location: The Netherlands
Contact:

Re: Duplicate song records

Postby Angelo » Mon Oct 15, 2012 4:42 pm

Which version of Stepmania? Please check the database file to see if they really are duplicate in the database and that it's not just the site that's showing issues.
- Angelo
developer

User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

Re: Duplicate song records

Postby Izzy » Mon Oct 15, 2012 5:27 pm

I was using 3.95. I don't have access to the database so I will have to wait for houkounchi. I think it might have had something to do with exiting the game mid song and then recreating the room and then playing the same song.

As far as I can tell they are definitely in the database if each one has it's own match id.

houkouonchi
Site Admin
Posts: 156
Joined: Sun Sep 16, 2012 1:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Duplicate song records

Postby houkouonchi » Tue Oct 16, 2012 10:21 am


User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

Re: Duplicate song records

Postby Izzy » Tue Nov 27, 2012 2:58 pm

Pretty confident this was fixed with the mysql migration. Playing the same song in a row hasn't triggered this issue since then.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Bug Reports ONLY”

Who is online

Users browsing this forum: No registered users and 3 guests