[Tickets #13441] Upload attachment doesn't show error messages
noreply at bugs.horde.org
noreply at bugs.horde.org
Fri Aug 15 04:37:22 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/13441
------------------------------------------------------------------------------
Ticket | 13441
Created By | leandro.damascena at gmail.com
Summary | Upload attachment doesn't show error messages
Queue | IMP
Version | 6.2.0
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
leandro.damascena at gmail.com (2014-08-15 04:37) wrote:
When I try to upload attachment that exceds config
($conf['compose']['attach_size_limit']), IMP_Compose_Exception doesn't
show message text..
Analyzing code, I see function called in imp/lib/Compose.php:3086
throw new IMP_Compose_Exception(strlen($filename) ?
sprintf(_("Attached file \"%s\" exceeds the attachment size limits.
File NOT attached."), $filename) : _("Attached file exceeds the
attachment size limits. File NOT attached."));
Looking to javascript json response, message field is empty
/*-secure-{"response":{"action":"addAttachment","success":0},"msgs":[{"charset":"UTF-8","message":"","flags":[],"type":"horde.error"}],"jsfiles":["\/js\/webnotification.js?v=416c4cd7"],"tasks":{"imp:compose":{"cacheid":"vcCb4U9GNA01w3flaVekig4"}}}*/
I attached a print screen where you can see horde erro box display
without message.
leandro.damascena at gmail.com (2014-08-15 04:37) uploaded: Screen Shot
08-15-14 at 01.35 AM 001.PNG
http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=Screen%20Shot%2008-15-14%20at%2001.35%20AM%20001.PNG&ticket=13441&fn=%2FScreen%20Shot%2008-15-14%20at%2001.35%20AM%20001.PNG
More information about the bugs
mailing list