Ticket #4333 (assigned defect)

Opened 1 year ago

Last modified 4 months ago

upload file name did not change to target file

Reported by: liuwld@gmail.com Assigned to: Blackhex (accepted)
Priority: normal Component: DownloadsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

The File field in the "list of available downloads" is not changed to the path of the server side, but still of the client side.

Attachments

Change History

12/25/08 07:28:09 changed by Blackhex

  • status changed from new to assigned.

The file field should contain only base name of the file. I assume you are using IE which is causing this kind of problems, right? Could you post me debug log from upload, please?

05/06/09 14:05:21 changed by ttressieres

i've the same problem with version for Trac 0.10.

You have to change the last line of api.py from

return file.file, unicode_unquote(file.filename), size

to

return file.file, unicode_unquote(filename), size

05/06/09 15:37:53 changed by Blackhex

Ah yes, such an obvious mistake. Thank you for debugging it. I'll commit fix with next changeset. Unfortunatelly this doesn't apply for 0.11 and 0.12 brach because there is this handled correctly so I'm confused if this ticket shouldn't be labeled with 0.10 Trac Release?

05/06/09 23:07:43 changed by Blackhex

Can anyone with access to IE try and comment if this is an issue with Trac 0.11 and 0.11 branch of the plugin, please?

05/08/09 23:23:35 changed by Blackhex

Fix for 0.10 branch is in repository.

(in reply to: ↑ description ) 11/09/09 18:21:37 changed by anonymous

Replying to liuwld@gmail.com:

The File field in the "list of available downloads" is not changed to the path of the server side, but still of the client side.

alskdjflskfj


Add/Change #4333 (upload file name did not change to target file)




Change Properties
Action