6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12059] Displaying quota is broken in basic-mode if the mailbox name has special characters
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ \ /.__ .___. |\ || \ >< [__) | | \||__// \[__) |
Comment
> 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
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers