glpi icon indicating copy to clipboard operation
glpi copied to clipboard

Duplicated entries everywhere

Open tetsumaki opened this issue 5 months ago • 6 comments

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • [X] I have searched the existing issues

Version

10.0.16

Bug description

Hello, when agents on a number of relatively similar machines send inventories, and at the same time, this creates duplicates if the name doesn't yet exist. with different IDs of course.

I don't know if it's possible to manage this in the PHP code, given that the PHP pools work independently, but if so, so much the better.

But I think you'd also need to add UNIQUE CONSTRAINT constraints to MariaDB tables on a lot of entries.

I've included several screenshots, but this kind of duplication can be seen almost everywhere.

2024-09-10 10_32_06-Logiciels - GLPI - Vivaldi

2024-09-10 10_32_27-Type d'ordinateur - GLPI - Vivaldi

2024-09-10 10_32_40-Fabricant - GLPI - Vivaldi

2024-09-10 10_32_56-Modèle d'ordinateur - GLPI - Vivaldi

2024-09-10 10_33_08-Système d'exploitation - GLPI - Vivaldi

2024-09-10 10_33_27-Version de noyau - GLPI - Vivaldi

Relevant log output

No response

Page URL

No response

Steps To reproduce

Send multiple inventories at the same time (second, or millisecond)

Your GLPI setup information

No response

Anything else?

No response

tetsumaki avatar Sep 10 '24 08:09 tetsumaki