Skip to content
This repository was archived by the owner on May 9, 2022. It is now read-only.

Confirmation email not correct #874

Open
hjp22 opened this issue Aug 1, 2017 · 5 comments
Open

Confirmation email not correct #874

hjp22 opened this issue Aug 1, 2017 · 5 comments

Comments

@hjp22
Copy link

hjp22 commented Aug 1, 2017

Event: https://isaacphysics.org/events/cpd08122017cambridge

logged in as ***@isaacphysics.org (teacher account)
booked a place
confirmation email received - correct title - but content was a .ics file, not the content as in the email template:
https://editor.isaacphysics.org/#!/edit/master/content/email_templates/email_event_booking_confirmed.json

A successful booking was made on 18th July, with the booking confirmation email being received successfully. So something has changed since then to break it.

@hjp22 hjp22 changed the title Confirmation and waiting list emails not correct Confirmation email not correct Aug 1, 2017
@mlt47 mlt47 self-assigned this Aug 1, 2017
@mlt47
Copy link
Contributor

mlt47 commented Aug 1, 2017

Currently looking into this.

For reference, Exception in the stagin API:
java.lang.IllegalArgumentException: Email template contains tag that was not provided! - [{{myBookedEventsURL}}, {{myAssignmentsURL}}]

I'm going to see if I can see what could have caused this state.

Hard coding the URLs in the email template could be a temporary fix (unless the text gets escaped to stop the inclusion of HTML tags).

@mlt47
Copy link
Contributor

mlt47 commented Aug 1, 2017

I think this will be fixed by my latest pull request but we'll need to double check on Dev tomorrow once it's been accepted.

@sacummins
Copy link
Contributor

@hjp22 Could you confirm what email client you used to see this behaviour? I am struggling to reproduce it.

@hjp22
Copy link
Author

hjp22 commented Oct 23, 2017

The confirmation email appears to view correctly in yahoo, and gmail, but not in mozilla thunderbird.

In Yahoo and Gmail the text (from the appropriate email template) is viewed, and there is an event.ics attachment. But yahoo displays an error (see attached)

In thunderbird just the event.ics is displayed, not the email text (see attached)

capture
captureyahoo

@hjp22
Copy link
Author

hjp22 commented Feb 5, 2018

Thunderbird is still not displaying the email text...
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants