Modify

Opened 6 years ago

Closed 4 years ago

#4333 closed defect (fixed)

upload file name did not change to target file

Reported by: liuwld@… Owned by: Blackhex
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 6 years ago 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?

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

comment:4 Changed 5 years ago 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?

comment:5 Changed 5 years ago by Blackhex

Fix for 0.10 branch is in repository.

comment:6 in reply to: ↑ description Changed 5 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 4 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from assigned to closed

I suppose this is already fixed.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Blackhex. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.