6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6623] Message cache update flags cannot handle imap ranges
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..___. .. . |\/|| |[__ |_/ \ / | ||/\|| | \ \/
Comment
> "Empty folder" operation gives the list of message indices in the > form understood by the imap protocol to mean "from to first to the > end", that is, "1:*". Everything else in IMP seems to handle this OK, > but updateFlags function in lib/IMAP/MessageCache.php doesn't - it > apparently excpects a list of explicite message id numbers, not a > one-membered list that contains an IMAP range. Result: the messages > are flagged as deleted on the server, but not in cache, so IMP shows > them without overstrike in the mailbox index. (However, "Hide > deleted", "Purge deleted" etc. do work.) The attached patch adds the > imap range "1:*" as a special case to the _loadUIDs argument $uids - > if $uids has "1:*" as its first element, we retrieve all the UIDs we > have in cache. I'm not sure whether this actually resolves the > problem; seems to work for me this far...
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers