Summary | fail to create a preference storage |
Queue | Ingo |
Queue Version | 3.2.8 |
Type | Bug |
State | Assigned |
Priority | 1. Low |
Owners | Horde Developers (at) , mrubinsk (at) horde (dot) org |
Requester | sca (at) andreasschulze (dot) de |
Created | 02/10/2016 (3381 days ago) |
Due | |
Updated | 09/15/2016 (3163 days ago) |
Assigned | 02/15/2016 (3376 days ago) |
Resolved | |
Milestone | |
Patch | No |
filter in Horde_Imap_Client_Data_Format_String::__construct() is
eating the contents of the stream in certain cases. I've seen this
happen mostly when opening a mailbox in the imap client - causing the
mailbox name to be an empty string. Here is a trace showing the value
of the string before adding to a temporary stream with the filter
attached, and then showing an empty stream afterwards:
2016-09-15T16:37:33+00:00 DEBUG: Variable information:
string(17) "INBOX.Preferences"
Backtrace:
1. Horde_Prefs->store()
2. Horde_Prefs_Storage_KolabImap->store() /usr/share/php/Horde/Prefs.php:472
3. Horde_Kolab_Storage_Data_Decorator_Log->modify()
/usr/share/php/Horde/Prefs/Storage/KolabImap.php:143
4. Horde_Kolab_Storage_Data_Base->modify()
/usr/share/php/Horde/Kolab/Storage/Data/Decorator/Log.php:198
5. Horde_Kolab_Storage_Object->save()
/usr/share/php/Horde/Kolab/Storage/Data/Base.php:334
6. Horde_Kolab_Storage_Driver_Decorator_Base->fetchComplete()
/usr/share/php/Horde/Kolab/Storage/Object.php:418
7. Horde_Kolab_Storage_Driver_Decorator_Base->fetchComplete()
/usr/share/php/Horde/Kolab/Storage/Driver/Decorator/Base.php:419
8. Horde_Kolab_Storage_Driver_Imap->fetchComplete()
/usr/share/php/Horde/Kolab/Storage/Driver/Decorator/Base.php:419
9. Horde_Imap_Client_Base->fetch()
/usr/share/php/Horde/Kolab/Storage/Driver/Imap.php:495
10. Horde_Imap_Client_Base->_fetchWrapper()
/usr/share/php/Horde/Imap/Client/Base.php:2475
11. Horde_Imap_Client_Base->openMailbox()
/usr/share/php/Horde/Imap/Client/Base.php:2508
12. Horde_Imap_Client_Socket->_openMailbox()
/usr/share/php/Horde/Imap/Client/Base.php:1045
13. Horde_Imap_Client_Socket->_getMboxFormatOb()
/usr/share/php/Horde/Imap/Client/Socket.php:1166
14. Horde_Imap_Client_Data_Format_Mailbox->__construct()
/usr/share/php/Horde/Imap/Client/Socket.php:4191
15. Horde_Imap_Client_Data_Format_String->__construct()
/usr/share/php/Horde/Imap/Client/Data/Format/Mailbox.php:47
16. Horde::debug() /usr/share/php/Horde/Imap/Client/Data/Format/String.php:60
2016-09-15T16:37:33+00:00 DEBUG: Variable information:
resource(32) of type (stream)
Stream contents:
Backtrace:
1. Horde_Prefs->store()
2. Horde_Prefs_Storage_KolabImap->store() /usr/share/php/Horde/Prefs.php:472
3. Horde_Kolab_Storage_Data_Decorator_Log->modify()
/usr/share/php/Horde/Prefs/Storage/KolabImap.php:143
4. Horde_Kolab_Storage_Data_Base->modify()
/usr/share/php/Horde/Kolab/Storage/Data/Decorator/Log.php:198
5. Horde_Kolab_Storage_Object->save()
/usr/share/php/Horde/Kolab/Storage/Data/Base.php:334
6. Horde_Kolab_Storage_Driver_Decorator_Base->fetchComplete()
/usr/share/php/Horde/Kolab/Storage/Object.php:418
7. Horde_Kolab_Storage_Driver_Decorator_Base->fetchComplete()
/usr/share/php/Horde/Kolab/Storage/Driver/Decorator/Base.php:419
8. Horde_Kolab_Storage_Driver_Imap->fetchComplete()
/usr/share/php/Horde/Kolab/Storage/Driver/Decorator/Base.php:419
9. Horde_Imap_Client_Base->fetch()
/usr/share/php/Horde/Kolab/Storage/Driver/Imap.php:495
10. Horde_Imap_Client_Base->_fetchWrapper()
/usr/share/php/Horde/Imap/Client/Base.php:2475
11. Horde_Imap_Client_Base->openMailbox()
/usr/share/php/Horde/Imap/Client/Base.php:2508
12. Horde_Imap_Client_Socket->_openMailbox()
/usr/share/php/Horde/Imap/Client/Base.php:1045
13. Horde_Imap_Client_Socket->_getMboxFormatOb()
/usr/share/php/Horde/Imap/Client/Socket.php:1166
14. Horde_Imap_Client_Data_Format_Mailbox->__construct()
/usr/share/php/Horde/Imap/Client/Socket.php:4191
15. Horde_Imap_Client_Data_Format_String->__construct()
/usr/share/php/Horde/Imap/Client/Data/Format/Mailbox.php:47
16. Horde::debug() /usr/share/php/Horde/Imap/Client/Data/Format/String.php:62
Horde_Mime_Part::_scanStream(). The $fp stream becomes corrupt during
the running of the stream filter, though haven't been able to track
down any further.
Assigned to
State ⇒ Assigned
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ fail to create a preference storage
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed