glpi
glpi copied to clipboard
Feature / Add event logging for massive delete/restore/purge actions
Checklist before requesting a review
- [ ] I have read the CONTRIBUTING document.
- [x] I have performed a self-review of my code.
- [x] I have added tests that prove my fix is effective or that my feature works.
- [ ] This change requires a documentation update.
Description
- It fixes !40347
- The delete/purge/restore actions on an asset performed via Massive Actions were not logged on the
glpi_eventstable, unlike their counterparts performed from item forms. TheMassiveAction::processMassiveActionsForOneItemtype()is enhanced to log those events via Massive Actions, ensuring consistency with individual item actions.