Modify

Opened 15 years ago

Closed 14 years ago

#4333 closed defect (fixed)

upload file name did not change to target file

Reported by: liuwld@… Owned by: Radek Bartoň
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 (0)

Change History (7)

comment:1 Changed 15 years ago by Radek Bartoň

Status: newassigned

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 15 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 15 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 15 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 15 years ago by Radek Bartoň

Fix for 0.10 branch is in repository.

comment:6 in reply to:  description Changed 14 years ago 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

comment:7 Changed 14 years ago by Radek Bartoň

Resolution: fixed
Status: assignedclosed

I suppose this is already fixed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
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.