[Tickets #3410] NEW: Use of message_seq wreaks havoc
bugs@bugs.horde.org
bugs at bugs.horde.org
Sun Feb 5 19:10:40 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3410
-----------------------------------------------------------------------
Ticket | 3410
Created By | Chuck Hagenbuch <chuck at horde.org>
Summary | Use of message_seq wreaks havoc
Queue | Agora
State | Accepted
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
Chuck Hagenbuch <chuck at horde.org> (2006-02-05 19:10) wrote:
The overloaded use of message_seq, for both forums and threads, to represent
both the next id and the count means that:
- for moderated forums, the message count is inaccurate if any messages
remain unmoderated
- message counts for forums are innaccurate if any messages have been
deleted (including messages that were denied during moderation)
- last message for forums doesn't work properly if the last message is
awaiting moderation
... and probably a few more. The code is messy and could really stand to be
refactored, and a seperate count attribute is probably necessary.
More information about the bugs
mailing list