Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Admin PirepFiled Notification Fails #1882

Copy link
Copy link
@FatihKoz

Description

@FatihKoz
Issue body actions

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:

  1. Enable admin notifications via mail
  2. Create a simbrief plan for a flight
  3. Send the pirep
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.