Ask Your Question

Answer not showing even though summary says "1 answer"

asked 2012-11-04 23:51:58 -0600

siovene's avatar

updated 2012-12-21 20:04:14 -0600

Evgeny's avatar

Hi, I'm running Askbot from git master on a new community. I've observed already in two instances that one ore more answers are not displayed in the question's page, even though the summary information in the questions list says "1 answer".

I checked out the site admin, and there I couldn't see any difference (except the text of the answer of course) between an answer that was showing and one that wasn't.

Moreover, one of these "hidden" answers suddenly started showing a few hours later.

Could it be a caching issue or what? Thanks!


The weirdest thing is happening. I'm sure it's got to be a server-side cache issue, because if I flush memcached then the answer appears, but I went through the code, and askbot/views/ has hardcaded is_cacheable to False, so there isn't any caching going on there. But still! This is really puzzling, can anyone take a look?

edit retag flag offensive close merge delete



I'm most certain it is a caching issue. Flushing memcached cache will make the missing answer appear. Please take a look at this because it's happening every day in my low-traffic new community. Things will get worse as the community grows! Thanks!

siovene's avatar siovene  ( 2012-11-05 06:58:41 -0600 )edit

I think I found the source of this: the thread cache was not invalidated upon publishing answers posted before logging in.

Evgeny's avatar Evgeny  ( 2012-11-07 11:31:30 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-07 11:33:44 -0600

Evgeny's avatar

updated 2012-12-21 20:04:53 -0600

Fixed in the repository, please try. Thanks.

edit fixed in 0.7.47

edit flag offensive delete link more


That fixed it, awesome! Thanks!

siovene's avatar siovene  ( 2012-11-07 12:01:17 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-11-04 23:51:58 -0600

Seen: 357 times

Last updated: Dec 21 '12