Problem/Motivation
When registrants are deleted, only the email address and registrant ID are available in the log message.
E.g., Message would be The registrant email@yoursite.com has been deleted.
Location and referrer would contain registrant ID such as https://website.com/events/11503/registrations/30268/93ff3238-430b-4e2e-b70d-77dbfe707d2a/delete where 11503 is registrant ID.
For some debugging tasks, it would have been helpful to have event series and event instance information available as well.
Steps to reproduce
Delete a registrant via the cancellation link in a registrant email.
Proposed resolution
Add Event Series name and ID and Event Instance name and ID to the log message by updating $this->logDeletionMessage method in RegistrantDeleteForm.php.
Issue fork recurring_events-3557905
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
chrisla commentedComment #3
chrisla commentedUpdated by adding own logDeletionMessage method that will create a message like this:
The registrant email@yoursite.com from Event Series "Event series title" (ID: 1977) and Event Instance ID: 9928 has been deleted.Comment #5
chrisla commentedComment #6
chrisla commentedCould I request a review and merge of this feature?