6.0.0-beta1
7/5/25

[#13061] pressing refresh on virtual folder results in error
Summary pressing refresh on virtual folder results in error
Queue IMP
Queue Version 6.1.7
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester michael (at) bigmichi1 (dot) de
Created 03/19/2014 (4126 days ago)
Due
Updated 04/23/2014 (4091 days ago)
Assigned 03/20/2014 (4125 days ago)
Resolved 04/23/2014 (4091 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/23/2014 07:30:50 AM Michael Slusarz Comment #16
State ⇒ Duplicate
Reply to this comment
#13125
04/23/2014 07:23:15 AM michael (at) bigmichi1 (dot) de Comment #15 Reply to this comment
i am using php 5.5.6-2chl1~saucy1
04/23/2014 07:18:29 AM Michael Slusarz Comment #14 Reply to this comment
Are you using PHP 5.5?
04/05/2014 08:35:06 AM michael (at) bigmichi1 (dot) de Comment #13 Reply to this comment
deleting and recreating doesn't fix it.

i tried also disabling the caching and hashtable backend, also doesn't fix it
only thing that i can't test is switching the preferences backend from 
mongo to something other
04/04/2014 09:30:36 PM Michael Slusarz Comment #12 Reply to this comment
It appears your stored search is invalid.

2014-04-04T11:38:27+02:00 ERR: HORDE [imp] Der E-Mail-Server hat einen 
IMAP-Fehler gemeldet. Mailbox doesn't exist: impsearch [pid 495 on 
line 578 of "/srv/www/docs/imp/lib/Imap.php"]

This is incorrect.  The maibox impsearch NEVER exists on its own.  The 
correct form is "impsearch\0[randomid string]".

It appears that everything including/following the null character has 
been stripped.

Try deleting the search and recreating and see if that fixes.
04/04/2014 09:49:14 AM michael (at) bigmichi1 (dot) de Comment #11
New Attachment: e Download
Reply to this comment
DEBUG log
04/03/2014 05:47:54 AM Michael Slusarz Comment #10 Reply to this comment
See http://bugs.horde.org/ticket/13061#c8

You need to apply the patch, enable DEBUG logging, and provide the 
backtrace logs.
04/02/2014 06:40:35 AM michael (at) bigmichi1 (dot) de Comment #9 Reply to this comment
new log entry

2014-04-02T07:39:13+02:00 WARN: HORDE [imp] [getSyncToken] IMAP error 
reported by server. [pid 9034 on line 571 of 
"/srv/www/localhost/docs/imp/lib/Imap.php"]
2014-04-02T07:39:13+02:00 ERR: HORDE [imp] Der E-Mail-Server hat einen 
IMAP-Fehler gemeldet. Mailbox doesn't exist: impsearch [pid 9034 on 
line 578 of "/srv/www/localhost/docs/imp/lib/Imap.php"]
2014-04-02T07:39:13+02:00 NOTICE: HORDE [imp] PHP ERROR: Trying to get 
property of non-object [pid 9034 on line 43 of 
"/srv/www/localhost/docs/imp/lib/Mailbox/List/Virtual.php"]
2014-04-02T07:39:13+02:00 WARN: HORDE [imp] [search] Could not open 
mailbox "impsearch". [pid 9034 on line 571 of 
"/srv/www/localhost/docs/imp/lib/Imap.php"]
2014-04-02T07:39:13+02:00 ERR: HORDE [imp] Could not open mailbox 
"impsearch". [pid 9034 on line 578 of 
"/srv/www/localhost/docs/imp/lib/Imap.php"]
04/01/2014 11:29:44 PM Michael Slusarz Comment #8 Reply to this comment
with the logging statement this is written to the log file:
This doesn't help much.

This is even better:

https://github.com/horde/horde/commit/5c12ef06c92880c78575d924adef5ea2eb12597c

(It will produce backtrace information in the DEBUG log)
04/01/2014 09:06:55 AM michael (at) bigmichi1 (dot) de Comment #7 Reply to this comment
with the logging statement this is written to the log file:

2014-04-01T11:03:38+02:00 WARN: HORDE [imp] [getSyncToken] IMAP error 
reported by server. [pid 17292 on line 570 of 
"/srv/www/localhost/docs/imp/lib/Imap.php"]
2014-04-01T11:03:39+02:00 ERR: HORDE [imp] Der E-Mail-Server hat einen 
IMAP-Fehler gemeldet. Mailbox doesn't exist: impsearch [pid 17292 on 
line 571 of "/srv/www/localhost/docs/imp/lib/Imap.php"]
2014-04-01T11:03:39+02:00 WARN: HORDE [imp] [search] Could not open 
mailbox "impsearch". [pid 17292 on line 570 of 
"/srv/www/localhost/docs/imp/lib/Imap.php"]
2014-04-01T11:03:39+02:00 ERR: HORDE [imp] Could not open mailbox 
"impsearch". [pid 17292 on line 571 of 
"/srv/www/localhost/docs/imp/lib/Imap.php"]
04/01/2014 06:19:11 AM Michael Slusarz Comment #6 Reply to this comment
anything else that i can provide to solve that issue?
Where in the code we are trying to call an IMAP method with a search 
mailbox (which is not a real IMAP mailbox, and it contains a null 
character).
This patch from last week in 6.2 will help narrow down where the 
mailbox is being passed from by outputting the method call to the log:

https://github.com/horde/horde/commit/6399b79fe814f969baefa2e1cb9944ede24db54a
04/01/2014 12:10:13 AM Michael Slusarz Comment #5 Reply to this comment
anything else that i can provide to solve that issue?
Where in the code we are trying to call an IMAP method with a search 
mailbox (which is not a real IMAP mailbox, and it contains a null 
character).
03/27/2014 07:47:17 AM michael (at) bigmichi1 (dot) de Comment #4 Reply to this comment
anything else that i can provide to solve that issue?
03/21/2014 07:33:04 AM michael (at) bigmichi1 (dot) de Comment #3
New Attachment: imaplog Download
Reply to this comment
attached is the imaplog when pressing the refresh button in the virtual folder
03/20/2014 10:56:58 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Can't reproduce.
03/19/2014 09:11:07 AM michael (at) bigmichi1 (dot) de Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ pressing refresh on virtual folder results in error
Type ⇒ Bug
Queue ⇒ IMP
Reply to this comment
i have a virtual folder named unread that is configured to shows all 
messages marked not read in all folders. when opening this virtual 
folder everything is fine. when pressing the refresh button in the top 
bar nothing happens. when using the refresh sing in the yellow bar on 
the right the error (Cannot open folder imapsearch) is shown. when i 
now swith to another folder  and swith back to the virtual folder the 
list is empty and pressing the refresh button also doesn't work. at 
this point i noticed that after the qqota display the message Loading 
is shown but nothing happens. only logout and then login brings up the 
new listing for the virtual folder

Saved Queries