Can't paste multiple images into WorkOrder report

Moderator: crythias

Locked
MarkR
Znuny newbie
Posts: 2
Joined: 13 Jul 2015, 13:02
Znuny Version: OTRS 4 Patch Level 9
Real Name: Mark R

Can't paste multiple images into WorkOrder report

Post by MarkR »

Hello,
As a picture is worth a thousand words we often need to take screen clips with the Snipping Tool and paste them into OTRS tickets.
When adding a Report entry into a WorkOrder, if I try to paste more than one image from the clipboard into the text editor and click Submit I will see one of two behaviours:
1.) The Report entry will save but one or more of the images will have disappeared.
2.) I will receive error message "Cannot add attachment for workorder nnnn". The error details are below.

Looking in the System Log I can also see error "File already exists 'WorkOrderReport/nnnn/image.png'!"

I have tried adding multiple images into one report entry before submitting, and also adding and submitting one image at a time -- neither of these works.

Running OTRS 5 on Windows 8.1 and Windows 10 machines, and the problem occurs in IE, Firefox and Chrome.

Is this a known issue, and is there either a fix or a workaround?


The error details are as follows:

Backend ERROR: OTRS-CGI-10 Perl: 5.16.3 OS: linux Time: Thu Sep 1 12:47:40 2016

Message: Cannot add attachment for workorder 6702

RemoteAddress: 10.90.97.19
RequestURI: /otrs/index.pl

Traceback (29393):
Module: Kernel::System::ITSMChange::ITSMWorkOrder::WorkOrderAttachmentAdd Line: 2515
Module: Kernel::Modules::AgentITSMWorkOrderReport::Run Line: 409
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1056
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32


Kind regards,
Mark
Locked