Summary | IMAP bug when deleting messages |
Queue | IMP |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | slusarz (at) horde (dot) org |
Requester | vilius (at) lnk (dot) lt |
Created | 04/04/2011 (5309 days ago) |
Due | |
Updated | 04/05/2011 (5308 days ago) |
Assigned | 04/05/2011 (5308 days ago) |
Resolved | 04/05/2011 (5308 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 5 |
Patch | No |
it again, but now I have to get some sleep :)
Bug #9796: Make sure messages is always defined1 files changed, 1 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/c2a2ec543eeb5514c4883682a563d91c6f267668
installing a new version if Imap_Client doesn't really tell me anything.
I can verify that I was able to reproduce your issue before this fix,
and I can no longer reproduce after this fix.
2011-04-06T00:07:29+03:00 WARN: HORDE [imp] PHP ERROR:
array_combine(): Both parameters should have an equal number of
elements [pid 13172 on line 2953 of
"/usr/share/pear/Horde/Imap/Client/Base.php"]
2011-04-06T00:07:29+03:00 NOTICE: HORDE [imp] PHP ERROR: Undefined
index: messages [pid 13172 on line 2623 of
"/usr/share/pear/Horde/Imap/Client/Base.php"]
luck. The strange thing is that this problem tend to appear on larger
mailboxes when deletion is slower.
you most definitely need to purge your cache.
RC2, deleted the cache and now the issue is a little bit different. I
still get ghost messages but instead of "Unknown date"/"No subject" I
get old real subject/date/from from deleted message. It is marked as
unread. If I logout/login it disappears.
Bug #9796: CONDSTORE fixes when MODSEQ is not available in mailboxRFC 4551 [3.1] - CONDSTORE server MUST return HIGHESTMODSEQ info.
If not, assume server is broken and ignore.
Don't need to delete cache if MODSEQ is not available - we just won't be
able to cache flag results.
Correctly handle cache data if MODSEQ isn't available. Namely - avoid
all flag caching when MODSEQ is not available in a mailbox.
3 files changed, 33 insertions(+), 47 deletions(-)
http://git.horde.org/horde-git/-/commit/ce223be3fd4550b2dd60c1be88d6db404b7f8e29
State ⇒ Feedback
Priority ⇒ 3. High
Milestone ⇒ 5
Assigned to Michael Slusarz
Has the side benefit of allowing caching on everything else in the
mailbox but flags (for whatever reason, we were deleting the cached
results on every page access if MODSEQs weren't available. This isn't
correct. UIDs aren't changing - that's the point of UIDVALIDITY - so
this data is all still valid. It's just the flag data that is
affected by the absence of MODSEQs).
globally, but to actually work user (or admin) must enable it on the
mailboxes he wants. Don't ask why :)
could do, I would gladly help.
in multiple places it supports CONDSTORE, and then when you select a
mailbox you get:
(1301911804,0642) S: * OK [NOMODSEQ] Sorry, modsequences have not been
enabled on this mailbox
could do, I would gladly help.
showstopper for me.
showstopper for me.
New Attachment: imaplog.gz
1. Login to Horde/IMP.
2. Go to INBOX (INBOX page has 1 newest messages which is read, 3
messages marked as deleted from another client, 16 read older
messages. Everything is ordered by Date, Descending).
3. Mark checkbox and delete first message.
4. Mark checkboxes and delete 3 messages which were marked as deleted.
5. Three ghost messages appear.
Priority ⇒ 1. Low
communication.
To enable debugging, see instructions contained in
imp/config/backends.php (the 'debug' config parameter).
Debugging should not be enabled on a production server, Attach/post
only the portion of the log that directly deals with the problem
reported (it may be simplest to clear the log file and then perform
the event that causes the error).
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
New Attachment: imapbug.PNG
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ IMAP bug when deleting messages
Type ⇒ Bug
(see screenshot). The count of ghost messages are equal to count of
deleted messages.
I'm using IMAP Trash instead of ordinary delete/purge settings.