glpi icon indicating copy to clipboard operation
glpi copied to clipboard

Feature / Add event logging for massive delete/restore/purge actions

Open Mary-Clb opened this issue 3 months ago • 0 comments

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_events table, unlike their counterparts performed from item forms. The MassiveAction::processMassiveActionsForOneItemtype()is enhanced to log those events via Massive Actions, ensuring consistency with individual item actions.

Mary-Clb avatar Nov 27 '25 11:11 Mary-Clb