[Tickets #8280] Horde caching Agora when it shouldn't be
bugs at horde.org
bugs at horde.org
Fri May 15 00:57:24 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8280
------------------------------------------------------------------------------
Ticket | 8280
Created By | simon at simonandkate.net
Summary | Horde caching Agora when it shouldn't be
Queue | Agora
Version | FRAMEWORK_3
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
simon at simonandkate.net (2009-05-14 20:57) wrote:
I installed Agora for comments in Ansel. That bit works fine. So do
comments in Turba - in both of those I can add comments and they are
immediately visible to all users. The MySQL tables show the posts and
the "forums" - all good.
However, Horde incorrectly caches other Agora content, which is
completely breaking it.
Horde is 3.3.4 rc1. Mysql backend, LDAP preferences store.
$conf[cache][driver] set to use SQL.
I created a new forum "Welcome to the Forums". That appeared, and is
visible. I added a thread to that forum. Navigate back to the root.
The Forum is visible, but with no content (0 threads, 0 posts). A
while later this screen actually updated to show 1 thread, 1 post.
Clicking on the last post link took me to the post, so the post is
there and the permissions are OK (I have not set any Horde Permissions
on Agora). But clicking on the forum to enter it - it tells me "no
threads". Same in Moderators. Add a moderator to the new Forum,
submit, it works, adds it to the database, but Agora still shows "No
Moderators have been created". Adding it again returns an error (cos
it's already there).
What got really interesting was when I dropped the Agora tables and
recreated them. In Ansel and Turba the comments disappeared (as
expected). MySQL tables are all empty. Agora shows no forums. Yet
adding a new forum in the Parent Forum drop-down is.... "Welcome to
the Forums". In the add a moderator forum select drop down is...
"Welcome to the forums" AND "19" which was what it called an Ansel
comment 'forum'. Yet none of those are in MySQL any more.
If i tell Horde to not cache any objects ($conf[cache][driver]), the
problem goes away.
I then tried setting $conf[cache][driver] to use memcache. Same
problem. As soon as either memcache or sql caching is used, Agora
breaks.
More information about the bugs
mailing list