6.0.0-beta1
9/1/25

[#13441] Upload attachment doesn't show error messages
Summary Upload attachment doesn't show error messages
Queue IMP
Queue Version 6.2.0
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester leandro.damascena (at) gmail (dot) com
Created 08/15/2014 (4035 days ago)
Due
Updated 08/29/2014 (4021 days ago)
Assigned 08/17/2014 (4033 days ago)
Resolved 08/29/2014 (4021 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/29/2014 10:19:10 AM Jan Schneider State ⇒ No Feedback
 
08/17/2014 11:16:21 PM Michael Slusarz Comment #2
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
Can't reproduce.

The exception is being correctly thrown, and the notification is being 
correctly triggered (with the right type: 'horde.error').  Only thing 
I can think of is that something is strange with that string in your 
locale (PT_BR?).
08/15/2014 04:37:22 AM leandro (dot) damascena (at) gmail (dot) com Comment #1
Priority ⇒ 2. Medium
New Attachment: Screen Shot 08-15-14 at 01.35 AM 001.PNG Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Upload attachment doesn't show error messages
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
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.

Saved Queries