[Tickets #12097] Export of mailfolders fails with cyrus imap

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Mar 6 15:25:44 UTC 2013


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/12097
------------------------------------------------------------------------------
  Ticket           | 12097
  Erstellt Von     | roderick.braun at ph-freiburg.de
  Zusammenfassung  | Export of mailfolders fails with cyrus imap
  Warteschlange    | Horde Groupware Webmail Edition
  Version          | 5.0.4
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            | 1
  Zuständige       |
------------------------------------------------------------------------------


roderick.braun at ph-freiburg.de (2013-03-06 15:25) hat geschrieben:

Export of mailfolders is not working. In the log you find many PHP  
errors depending  of the number of mails the exported mbox folder  
contains.
The problem is in the method "update" in .../Imap/Client/Ids/Map.php  
which is not checking whether the mapping array contains only valid  
values (I guess they should always be int?).

However, assuring that all keys and values in the array are of type  
int is solving the problem (for us).

We use the cyrus-imapd 2.4.17

PHP error msg:
---- snip ---
Mar  6 15:22:15 mailweb HORDE:  1. Horde_Registry->callAppMethod()  
/srv/www/horde/services/download/index.php:33  2.  
call_user_func_array() /srv/www/horde/pear/php/Horde/Registry.php:1141  
  3. IMP_Application->download()  4. IMP_Ui_Folder->generateMbox()  
/srv/www/horde/imp/lib/Application.php:521  5. IMP_Imap->fetch()  
/srv/www/horde/imp/lib/Ui/Folder.php:102  6. IMP_Imap->__call()  
/srv/www/horde/imp/lib/Ui/Folder.php:102  7. call_user_func_array()  
/srv/www/horde/imp/lib/Imap.php:385  8.  
Horde_Imap_Client_Base->fetch()  9. array_flip()  
/srv/www/horde/pear/php/Horde/Imap/Client/Base.php:2552 10.  
Horde_ErrorHandler::errorHandler()
Mar  6 15:22:15 mailweb HORDE: [imp] PHP ERROR: array_flip(): Can only  
flip STRING and INTEGER values! [pid 3772 on line 2552 of  
"/srv/www/horde/pear/php/Horde/Imap/Client/Base.php"]
--- snap ---



roderick.braun at ph-freiburg.de (2013-03-06 15:25) hat hochgeladen:  
imap-update-mapping-fix.patch

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=imap-update-mapping-fix.patch&ticket=12097&fn=%2Fimap-update-mapping-fix.patch





More information about the bugs mailing list