Skip to content

Ticket attachments for attendee emails are not working. #6155

@mrsaicharan1

Description

@mrsaicharan1

Describe the bug
After adding support for multi attendee ticket downloads, the storage path was changed. Due to this, the tickets weren't being attached. Ergo, the email wasn't being sent.

Reference
The key was changed in this PR. #6095
To Reproduce
Steps to reproduce the behavior:

  1. Place any order
  2. Email is not sent

Expected behavior
Emails & attachments should work as expected.
Stacktrace

/open-event-server/app/api/helpers/tasks.py", line 64, in send_email_task_sendgrid
    with open(attachment, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'generated/tickets/attendees/tickets/pdf/4c0b138f-fd0c-489b-a30b-57c971014861/dDlYVnIrN1/4c0b138f-fd0c-489b-a30b-57c971014861.pdf'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions