problem with posting threads on entries - thread can get overwritten
BotB Academy Bug Reports and Feature Requests
 
 
19232
Level 22 Playa
xterm
 
 
 
post #19232 :: 2012.07.24 10:58pm
take a look at strobe's new detroit entry (and the duplicate links to the comments on the botb homepage). there was a thread with 2 comments (gyms and strobe), but then that got overwritten by b00daw's comment.

we think what happened was: b00daw had a copy of the page open without any posts on it, so the system did not check to see whether there was already a thread before starting his new one. so his "new" thread took the place of the already existing thread for this entry.

this could be fixed by making sure the posting code always checks for the existence of a thread on the page, even when it did not yet exist upon the initial page load.

"[01:53] < B00daW> so basically it should just check for an open thread before posting a new one on the same topic."

:)
 
 
19257
Level 22 Playa
xterm
 
 
 
post #19257 :: 2012.07.26 12:11am
also, comment counts shown on the Detroit VIII entry list seem to be 0 or 1 only - not actually counting the number of posts:

http://battleofthebits.com/arena/Battle/1053/Detroit+VIII/
 
 
19259
Level 16 OHCist
Soiled Bargains
 
 
post #19259 :: 2012.07.26 9:49am
Yeah, zanzan said in that compo's thread that the same thing is done with plays of bits.
 
 
19835
Level 29 Hostist
puke7
 
 
 
post #19835 :: 2012.09.04 1:49pm
I reordered a couple conditional statements which should help with this nonsense. I snooped around to see why the comment/post count isn't correct and I couldn't find the actual hole in the code. Some kind of info in the db being cached issue.
 
 

LOGIN or REGISTER to add your own comments!