| Summary | IMP doesn't work for users with 0 folders |
| Queue | IMP |
| Queue Version | 4.3.8 |
| Type | Bug |
| State | Duplicate |
| Priority | 2. Medium |
| Owners | |
| Requester | Valentin.Vidic (at) carnet (dot) hr |
| Created | 10/19/2010 (5498 days ago) |
| Due | |
| Updated | 10/19/2010 (5498 days ago) |
| Assigned | |
| Resolved | 10/19/2010 (5498 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Duplicate
Patch ⇒ No
bug #9273(and a few others).Priority ⇒ 2. Medium
New Attachment: names.diff
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ IMP doesn't work for users with 0 folders
Type ⇒ Bug
State ⇒ Unconfirmed
open IMP:
Warning: array_keys() [function.array-keys]: The first argument should
be an array in /srv/webmail.carnet.hr/www/imp/lib/IMAP/Tree.php on
line 328
Warning: array_intersect() [function.array-intersect]: Argument
#2isnot an array in /srv/webmail.carnet.hr/www/imp/lib/IMAP/Tree.php on
line 328
Warning: array_flip() [function.array-flip]: The argument should be an
array in /srv/webmail.carnet.hr/www/imp/lib/IMAP/Tree.php on line 328
Fatal error: Unsupported operand types in
/srv/webmail.carnet.hr/www/imp/lib/IMAP/Tree.php on line 333
This seems related to new code added in 1.2.7 and happens because
$names array never gets initialized in case of 0 mailboxes. Patch is
attached.