Letractively / thinktankforums

Automatically exported from code.google.com/p/thinktankforums
0 stars 0 forks source link

admin_userinfo.php and ttf_post.archive #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
what steps will reproduce the problem?
1. setup database as spec'd in _schema.txt
2. check admin_userinfo.php for any user

expected behavior: general user info including number of posts

actual behavior: breaks due to query finding number of posts that have an
unset archive field (ln 60:63). since ttf_post.archive doesn't exist in the
new schema file the query fails. even if it is added back into the schema,
it isn't updated anywhere and so all archived posts are counted.

a new method must be devised to find if posts are archived or count
archived posts towards user stats.

Original issue reported on code.google.com by dbrown29@gmail.com on 26 Jan 2009 at 12:49

GoogleCodeExporter commented 8 years ago
r339

Original comment by lucasreddinger on 27 Jan 2009 at 8:41