Opened 10 years ago

Closed 8 years ago

upload file name did not change to target file

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.

comment:1 Changed 10 years ago by Radek Bartoň

Status: new → 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?

comment:2 Changed 9 years ago 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


comment:3 Changed 9 years ago by Radek Bartoň

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?

comment:4 Changed 9 years ago by Radek Bartoň

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?

comment:5 Changed 9 years ago by Radek Bartoň

Fix for 0.10 branch is in repository.

comment:6 in reply to:  description Changed 9 years ago by anonymous

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

comment:7 Changed 8 years ago by Radek Bartoň

Resolution: → fixed assigned → closed

I suppose this is already fixed.

Modify Ticket

Change Properties