Project

General

Profile

Bug #5904

In assignement tool, the TITLE replace the filename when try to download

Added by Hubert Borderiou over 6 years ago. Updated over 3 years ago.

Status:
Needs more info
Priority:
Normal
Assignee:
-
Category:
Documents
Target version:
Start date:
25/01/2013
Due date:
% Done:

0%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi,
I upload a file in the ASSIGNEMENT tool.
I browse my pdf file : mem.pdf
I put a title : Mon_Memoire
I upload the file. That's ok.
In the database and the filesystem, the file is named something like 44394b5e1e197b180daf45aa8d4631c0

If a teacher download the file, the filename of the file is Mon_Memoire not the filename.
The teacher download the file without the file extension. Should be pptx ? pdf ? docx ? xlsx ? txt ? etc ...
The file downloaded is unusable for the teacher who have to ask the student to explain him how to open the file.

It would be better if the teacher download the file with the original filename to avoid mistake.

The title field should only be usefull for a assignement category which allow assignments handing through online editor.

History

#1

Updated by Julio Montoya over 6 years ago

  • Status changed from New to Needs more info

I suggest that when entering in the "submit paper" page we have 2 tabs:

Submit paper Write an assignment
Upload field + description + submit button title + description + submit button

With this 2 forms we could avoid the problem that when uploading a file you have to enter a title, the title will be the filename.

#2

Updated by Hubert Borderiou over 6 years ago

When uploading an assignement, the named is crypted in the filesystem
e.g. :
5ce346efbf00832a1d29af26524fda19

It is impossible to repair issues like that, or to give teacher a tgz of the folder.
In previous version, it seems that the name on the filesystem has a crypted party and the filename after this crypted part
e.g. :
5ce346efbf00832a1d29af26524fda19my_report_.pdf

Could we go back to the filename with code+filename ?

#3

Updated by Yannick Warnier over 6 years ago

  • Category set to Documents

Hi Hubert,

This mechanism helps avoiding the use of bug-prone characters in documents (or change of case - uppercase/lowercase - between operating systems). You should always zip a directory through Chamilo, so the file itself remains well named.

Is this a problem when zipping the files from the interface as well?

(please try to assign a category to new tasks, we hope it will help us put some order in the development)

#4

Updated by Hubert Borderiou over 6 years ago

When a teachers has a huge folder of assignments to download, we give him a tgz file.
We have some work folder that weight more than 300Mo.

Moreover, when a problem occurs, we feel quite alone in front of a directory with files named 5ce346efbf00832a1d29af26524fda19 ^^

Do you think we could name work files in the filesystem with a code like this one concatenated with the filename, modified to use only characters a-z 0-9 _ and . ?
It would be a convenient compromise I think.

#5

Updated by Yannick Warnier over 6 years ago

  • Target version changed from 1.9.6 to 2.0
#6

Updated by Hubert Borderiou over 6 years ago

Damned, problem when uploading a doc to Compilatio, plagiarism detector, the file has no extension...
need at least the file extension in field url

#7

Updated by Hubert Borderiou over 6 years ago

Another side effect, in the Compilatio tool (should be the same with Euphorus)
the filename is understandable :s
(see "titre" un img bellow)

#8

Updated by Yannick Warnier over 3 years ago

  • Target version changed from 2.0 to 3.0

Also available in: Atom PDF