Modify

Opened 6 years ago

Closed 6 years ago

#12812 closed defect (cantfix)

IE11 Drag and Drop does not work

Reported by: anonymous Owned by: Jun Omae
Priority: normal Component: TracDragDropPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Hello,

first of all. Great Plugin. In Chrome and Firefox it works great. Just in Internet Explorer 11 i could drag and drop it to the attachment area. But the file never get upload.

Attachments (1)

2.jpg (11.9 KB) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 6 years ago by anonymous

Sorry i had not finished my Description:

Hello,

first of all. Great Plugin. In Chrome and Firefox it works great. Just in Internet Explorer 11 i could drag and drop it to the attachment area. But the file never get upload.

The trac site is in the "trusted sites" in IE. Do you have an idea what i can do to make it working.

Kind regards, Ronni

Changed 6 years ago by anonymous

Attachment: 2.jpg added

comment:2 Changed 6 years ago by Jun Omae

Works for me on my environment. I just confirm now.

Please check any errors in the following:

  • javascript console of your Internet Explorer 11
  • log/trac.log in your Trac environment after enabling logging with DEBUG log level
Last edited 6 years ago by Jun Omae (previous) (diff)

comment:3 Changed 6 years ago by Jun Omae

Keywords: needinfo added

comment:4 Changed 6 years ago by anonymous

In IE Console i get the error:

SCRIPT7002: XMLHttpRequest: Network Error 0x80030019, An error occurred during a seek operation.
File: 12

In trac.log

2016-06-30 10:04:51,723 Trac[main] DEBUG: Dispatching <RequestWithSession "POST '/tracdragdrop/new/ticket/12'">
2016-06-30 10:04:51,739 Trac[api] INFO: Synchronized '(default)' repository in 0.02 seconds

comment:5 Changed 6 years ago by Jun Omae

I am not sure that Network Error is raised and that issue is not reproduced to me.... but please try to the following patch?

  • tracdragdrop/htdocs/tracdragdrop.js

     
    137137            opts.contentType = false;
    138138        }
    139139        else {
    140             opts.contentType = 'application/octet-stream';
     140            opts.contentType = 'text/plain';
    141141        }
    142142        delete opts.headers;
    143143        delete opts.progress;

comment:6 Changed 6 years ago by anonymous

Tried the patch. No change. Found in apache error.log the possible error

[Thu Jun 30 11:54:30 2016] [error] [client x.x.x.x] mod_wsgi (pid=5480): Exception occurred processing WSGI script 'C:/trac/trac.wsgi'., referer: https://x.x.x.x/tractest/ticket/12
[Thu Jun 30 11:54:30 2016] [error] [client x.x.x.x] RuntimeError: response has not been started, referer: https://x.x.x.x/tractest/ticket/12

I think the plugin is working. Just the wsgi script in combination with the plugin not. You could close the ticket. I will make further investigations to my environment.

Thank you.

comment:7 Changed 6 years ago by Jun Omae

Keywords: needinfo removed
Resolution: cantfix
Status: newclosed

Thanks for the feedback. Feel free to reopen this ticket or create a new ticket if you have issues due to TracDragDropPlugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.