Bug #5904

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

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

Needs more info
Target version:
Start date:
Due date:
% Done:


Estimated time:
Spent time:
SCRUM pts - complexity:


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.



Updated by Julio Montoya over 9 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.


Updated by Hubert Borderiou over 9 years ago

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

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. :

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


Updated by Yannick Warnier over 9 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)


Updated by Hubert Borderiou over 9 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.


Updated by Yannick Warnier over 9 years ago

  • Target version changed from 1.9.6 to 2.0

Updated by Hubert Borderiou over 9 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


Updated by Hubert Borderiou over 9 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)


Updated by Yannick Warnier over 6 years ago

  • Target version changed from 2.0 to 3.0

Also available in: Atom PDF