[wp-hackers] post2cat bug, WP2.2

Boris Anthony lists.permutype at gmail.com
Fri Jun 8 14:35:37 GMT 2007


Hi gang,

Mysterious thing started happening yesterday afternoon on our site,  
globalvoicesonline.org: a post appeared twice in some but not all of  
the category archives of categories it was assignd to.

pokign my head into the database revealed that 9 of the 11 categories  
the post was associated to, were associated twice!

e.g.:
post2cat:
rel_id	post_id	category_id
145262  	26542  	300
145256 	26542 	300
145259 	26542 	287
145253 	26542 	287
145261 	26542 	282
145255 	26542 	282
145260 	26542 	271
145254 	26542 	271
145258 	26542 	259
145252 	26542 	259
145257 	26542 	256
145251 	26542 	256
145248 	26542 	247
145247 	26542 	247
145250 	26542 	227
145249 	26542 	227
144951 	26542 	221
144953 	26542 	21
144952 	26542 	14
(yeah we're at almost 30,000 posts, 350 categories and almost 150k  
post2cat associations... ouch)

I'm thinking there's something funky happening at posting time? Or on  
auto-save?

[May this be related to some strange behavior some of our authors  
have been experiencing where a draft is no longer editable by them...  
yet to replicate that one myself but it's happened 3 times since we  
upped to 2.2 2 weeks ago. As well as disappearing comments... but I  
digress. :\ ]

Is there somewhere else I need to mention this? Bug tracker? :D

thnx!

B.



More information about the wp-hackers mailing list