6.0.0-alpha14
6/28/25

[#13991] Error when editing message
Summary Error when editing message
Queue Horde Groupware Webmail Edition
Queue Version 5.2.5
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester upcnet.technology.consulting (at) llistes (dot) upcnet (dot) es
Created 05/19/2015 (3693 days ago)
Due
Updated 04/22/2016 (3354 days ago)
Assigned 07/15/2015 (3636 days ago)
Resolved 07/20/2015 (3631 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/22/2016 03:39:47 PM albert (dot) solana (at) upcnet (dot) es Comment #3 Reply to this comment
So what's the bug?  You haven't proven that the message data is 
actually being saved (i.e. your configuration is correct).  That's 
exactly the kind of message you should be receiving if the 
attachment data is not being saved correctly.
Our current installed versions are: Horde 5.2.8, IMP  6.2.11

If the editing message is saved as a draft then all attached files are saved.

If I go to Draft folder and I select the message then I can see all 
the attached files and these files can be downloaded or displayed by 
horde.

The error message appears with some file types just in editon mode, 
i.e. pdf, doc, png, jpg, but they can be displayed from a saved draft 
message.

So it appears this problem is caused by  compose message form

https://server/horde/imp/dynamic.php?page=compose&buid=14092&mailbox=RHJhZnRz&type=resume&token=whtkI_Z-D4Epp17lX9R-nkF&uniq=1461339533663

Some other extensions can be displayed in edition mode without any 
problem, i.e. txt, csv, sh.

The error message is always the same:

"A fatal error has occurred
Could not display attachment data.

1. IMP_Compose_View->composeAttachPreview() /var/www/horde/imp/view.php:45

Details
The full error message is logged in Horde's log file, and is shown 
below only to administrators. Non-administrative users will not see 
error details.

IMP_Exception Object
(
     [details] =>
     [logged] => 1
     [_logLevel:protected] => 0
     [message:protected] => Could not display attachment data.
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => /var/www/horde/imp/lib/Compose/View.php
     [line:protected] => 54
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] => /var/www/horde/imp/view.php
                     [line] => 45
                     [function] => composeAttachPreview
                     [class] => IMP_Compose_View
                     [type] => ->
                     [args] => Array
                         (
                             [0] => 1
                             [1] => 1
                             [2] =>
                         )

                 )

         )

     [previous:Exception:private] =>
)
"



07/20/2015 02:16:58 PM Michael Rubinsky State ⇒ No Feedback
 
07/15/2015 06:34:15 AM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
So what's the bug?  You haven't proven that the message data is 
actually being saved (i.e. your configuration is correct).  That's 
exactly the kind of message you should be receiving if the attachment 
data is not being saved correctly.
05/19/2015 07:48:15 AM upcnet (dot) technology (dot) consulting (at) llistes (dot) upcnet (dot) es Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Error when editing message
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
While editing a message if we upload an attachment and we try to click 
on the link of the attachment, we get this error message:

A fatal error has occurred
No es poden visualitzar les dades adjuntes.
( Translation: You can't visualize the attachment)


1. IMP_Compose_View->composeAttachPreview() /var/www/horde/imp/view.php:45

Details
The full error message is logged in Horde's log file, and is shown 
below only to administrators. Non-administrative users will not see 
error details.

IMP_Exception Object
(
     [details] =>
     [logged] => 1
     [_logLevel:protected] => 0
     [message:protected] => No es poden visualitzar les dades adjuntes.
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => /var/www/horde/imp/lib/Compose/View.php
     [line:protected] => 54
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] => /var/www/horde/imp/view.php
                     [line] => 45
                     [function] => composeAttachPreview
                     [class] => IMP_Compose_View
                     [type] => ->
                     [args] => Array
                         (
                             [0] => 1
                             [1] => 1
                             [2] =>
                         )

                 )

         )

     [previous:Exception:private] =>
     [xdebug_message] => <tr><th align='left' bgcolor='#f57900' 
colspan="5"><span style='background-color: #cc0000; color: #fce94f; 
font-size: x-large;'>( ! )</span> IMP_Exception: No es poden 
visualitzar les dades adjuntes. in 
/var/www/horde/imp/lib/Compose/View.php on line <i>54</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' 
bgcolor='#eeeeec'>Time</th><th align='left' 
bgcolor='#eeeeec'>Memory</th><th align='left' 
bgcolor='#eeeeec'>Function</th><th align='left' 
bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' 
align='center'>0.0001</td><td bgcolor='#eeeeec' 
align='right'>239856</td><td bgcolor='#eeeeec'>{main}(  )</td><td 
title='/var/www/horde/imp/view.php' 
bgcolor='#eeeeec'>../view.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' 
align='center'>0.0342</td><td bgcolor='#eeeeec' 
align='right'>2199216</td><td 
bgcolor='#eeeeec'>IMP_Compose_View->composeAttachPreview(  )</td><td 
title='/var/www/horde/imp/view.php' 
bgcolor='#eeeeec'>../view.php<b>:</b>45</td></tr>

Saved Queries