[Tickets #12059] Re: Displaying quota is broken in basic-mode if the mailbox name has special characters
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Mar 4 20:29:48 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12059
------------------------------------------------------------------------------
Ticket | 12059
Updated By | arjen+horde at de-korte.org
Summary | Displaying quota is broken in basic-mode if the mailbox
| name has special characters
Queue | IMP
Version | 6.0.3
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
arjen+horde at de-korte.org (2013-03-04 20:29) wrote:
I can confirm this happening too in the basic interface. I added a
Horde::debug($params);
line just before line 384 in horde/imp/lib/Imap.php.
In basic mode, you'll see the following being logged in the folders
'Inbox' and 'Touché' respectively:
2013-03-04T21:11:05+01:00 DEBUG: Variable information:
array(1) {
[0]=>
object(Horde_Imap_Client_Mailbox)#408 (2) {
["_utf7imap":protected]=>
NULL
["_utf8":protected]=>
string(5) "INBOX"
}
}
Backtrace:
1. Horde_Injector->getInstance() /srv/www/htdocs/horde/imp/mailbox.php:375
2. Horde_Injector->createInstance()
/usr/share/php5/PEAR/Horde/Injector.php:247
3. Horde_Injector_Binder_AnnotatedSetters->create()
/usr/share/php5/PEAR/Horde/Injector.php:213
4. Horde_Injector_Binder_Implementation->create()
/usr/share/php5/PEAR/Horde/Injector/Binder/AnnotatedSetters.php:69
5. Horde_Injector_Binder_Implementation->_getInstance()
/usr/share/php5/PEAR/Horde/Injector/Binder/Implementation.php:62
6. ReflectionClass->newInstanceArgs()
/usr/share/php5/PEAR/Horde/Injector/Binder/Implementation.php:82
7. IMP_View_Subinfo->__construct()
8. IMP_Ui_Quota->quota() /srv/www/htdocs/horde/imp/lib/View/Subinfo.php:36
9. IMP_Quota_Imap->getQuota() /srv/www/htdocs/horde/imp/lib/Ui/Quota.php:32
10. IMP_Imap->getQuotaRoot() /srv/www/htdocs/horde/imp/lib/Quota/Imap.php:48
11. IMP_Imap->__call() /srv/www/htdocs/horde/imp/lib/Quota/Imap.php:48
12. Horde::debug() /srv/www/htdocs/horde/imp/lib/Imap.php:387
2013-03-04T21:11:19+01:00 DEBUG: Variable information:
array(1) {
[0]=>
object(Horde_Imap_Client_Mailbox)#400 (2) {
["_utf7imap":protected]=>
NULL
["_utf8":protected]=>
string(7) "Touché"
}
}
Backtrace:
1. Horde_Injector->getInstance() /srv/www/htdocs/horde/imp/mailbox.php:375
2. Horde_Injector->createInstance()
/usr/share/php5/PEAR/Horde/Injector.php:247
3. Horde_Injector_Binder_AnnotatedSetters->create()
/usr/share/php5/PEAR/Horde/Injector.php:213
4. Horde_Injector_Binder_Implementation->create()
/usr/share/php5/PEAR/Horde/Injector/Binder/AnnotatedSetters.php:69
5. Horde_Injector_Binder_Implementation->_getInstance()
/usr/share/php5/PEAR/Horde/Injector/Binder/Implementation.php:62
6. ReflectionClass->newInstanceArgs()
/usr/share/php5/PEAR/Horde/Injector/Binder/Implementation.php:82
7. IMP_View_Subinfo->__construct()
8. IMP_Ui_Quota->quota() /srv/www/htdocs/horde/imp/lib/View/Subinfo.php:36
9. IMP_Quota_Imap->getQuota() /srv/www/htdocs/horde/imp/lib/Ui/Quota.php:32
10. IMP_Imap->getQuotaRoot() /srv/www/htdocs/horde/imp/lib/Quota/Imap.php:48
11. IMP_Imap->__call() /srv/www/htdocs/horde/imp/lib/Quota/Imap.php:48
12. Horde::debug() /srv/www/htdocs/horde/imp/lib/Imap.php:387
I suspect that the element _utf7imap being NULL, might be causing
problems since my IMAP server (Dovecot) doesn't accept folders in
UTF8. This doesn't cause a problem in dynamic mode, since the quota
are calculated not per folder, but always based on the Inbox (it is
only logged once when switching between folders without doing
modifications):
2013-03-04T21:08:04+01:00 DEBUG: Variable information:
array(1) {
[0]=>
object(Horde_Imap_Client_Mailbox)#302 (2) {
["_utf7imap":protected]=>
NULL
["_utf8":protected]=>
string(5) "INBOX"
}
}
Backtrace:
1. IMP_Ajax_Application->send() /srv/www/htdocs/horde/services/ajax.php:65
2. IMP_Ajax_Application->getTasks()
/srv/www/htdocs/horde/imp/lib/Ajax/Application.php:120
3. IMP_Ajax_Queue->add()
/srv/www/htdocs/horde/imp/lib/Ajax/Application.php:131
4. IMP_Ui_Quota->quota() /srv/www/htdocs/horde/imp/lib/Ajax/Queue.php:166
5. IMP_Quota_Imap->getQuota() /srv/www/htdocs/horde/imp/lib/Ui/Quota.php:32
6. IMP_Imap->getQuotaRoot() /srv/www/htdocs/horde/imp/lib/Quota/Imap.php:48
7. IMP_Imap->__call() /srv/www/htdocs/horde/imp/lib/Quota/Imap.php:48
8. Horde::debug() /srv/www/htdocs/horde/imp/lib/Imap.php:387
More information about the bugs
mailing list