| Summary | Horde caching Agora when it shouldn't be |
| Queue | Agora |
| Queue Version | Git master |
| Type | Bug |
| State | Assigned |
| Priority | 1. Low |
| Owners | Horde Developers |
| Requester | simon (at) simonandkate (dot) net |
| Created | 05/15/2009 (1469 days ago) |
| Due | |
| Updated | 04/21/2011 (763 days ago) |
| Assigned | 05/28/2009 (1456 days ago) |
| Resolved | |
| Attachments | |
| Milestone | |
| Patch | No |
Version ⇒ Git master
Taken from Duck
Assigned to
during Agora H4-ification.
No probs. Functionality for comments in Ansel and Turba works fine,
it's just the actual Agora main forum stuff that doesn't work with
Horde caching. I'm not using the forums but thought it needed
reporting anyway.
State ⇒ Assigned
Assigned to Duck
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Agora
Summary ⇒ Horde caching Agora when it shouldn't be
Type ⇒ Bug
Priority ⇒ 1. Low
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.