Answer not showing even though summary says "1 answer"
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/readers.py has hardcaded
False, so there isn't any caching going on there. But still! This is really puzzling, can anyone take a look?
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!
I think I found the source of this: the thread cache was not invalidated upon publishing answers posted before logging in.