[Tickets #13991] Re: Error when editing message

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Apr 22 15:39:48 UTC 2016


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/13991
------------------------------------------------------------------------------
  Ticket             | 13991
  Updated By         | albert.solana at upcnet.es
  Summary            | Error when editing message
  Queue              | Horde Groupware Webmail Edition
  Version            | 5.2.5
  Type               | Bug
  State              | No Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


albert.solana at upcnet.es (2016-04-22 15:39) wrote:

> 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] =>
)
"








More information about the bugs mailing list