-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
When a pirep is filed, admins do get mails/notifications but somehow it fails while serializing the SimBriefXML (relationship of a pirep)
[2024-09-17 00:17:37] production.EMERGENCY: Error emailing admin (hello@kitty.com.mr). Error=Serialization of 'App\Models\SimBriefXML' is not allowed
Version
Version 7.0.25-dev.g14cc6ceb55
(newer builds should have this problem too as nothing changed in notifications recently)
To Reproduce
Steps to reproduce the behavior:
- Enable admin notifications via mail
- Create a simbrief plan for a flight
- Send the pirep
- Check logs
Expected behavior
Notifications should be sent to admins as it does not need the SimBrief and/or any other relationships to proceed.
Possible related spots
https://github.com/nabeelio/phpvms/blob/dev/app/Notifications/Messages/PirepFiled.php#L27
https://github.com/nabeelio/phpvms/blob/dev/app/Notifications/NotificationEventsHandler.php#L71
acarrasquillo
Metadata
Metadata
Assignees
Labels
No labels