| 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 | 8/15/14 (4246 days ago) |
| Due | |
| Updated | 8/29/14 (4232 days ago) |
| Assigned | 8/17/14 (4244 days ago) |
| Resolved | 8/29/14 (4232 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Feedback
Priority ⇒ 1. Low
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?).
Priority ⇒ 2. Medium
New Attachment: Screen Shot 08-15-14 at 01.35 AM 001.PNG
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Upload attachment doesn't show error messages
Type ⇒ Bug
State ⇒ Unconfirmed
($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.