You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-10-13 06:44:54

JohnnyMacau
Member
Registered: 2023-07-04
Posts: 8

attach multi file with the same content to ticket

I found sth weird. when i attach some files with the same content to one ticket, after the ticked is created, there is only one file that is successfully attached.
even when the file names are different, the same thing happens. the last file's name will appear in the ticket.
This becomes a serious problem when i create ticket by formcreator, when a form includes several attachment files, and the creator use the same file to cover several upload inputs, finally only the last file will be attached.
is this a problem or by design?

Offline

#2 2023-10-18 14:38:46

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: attach multi file with the same content to ticket

Files are stored based on the hash of their content. It isn't possible to have multiple uploads with the same file, even if the name changes.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-10-26 10:32:35

JohnnyMacau
Member
Registered: 2023-07-04
Posts: 8

Re: attach multi file with the same content to ticket

cconard96 wrote:

Files are stored based on the hash of their content. It isn't possible to have multiple uploads with the same file, even if the name changes.

understood, thanks a lot!

Offline

Board footer

Powered by FluxBB