question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

firestore-send-email : template not updated

See original GitHub issue

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs for a specific extension in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow with the firebase tag.
  • For general Firebase discussion, use the firebase-talk google group.
  • To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to Firebase support directly.

[REQUIRED] Step 2: Describe your configuration

  • Extension name: firestore-send-email
  • Configuration values (redact info where appropriate):
    • all config require (extension is working, except that if I modify a template, modifications are not applied)

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

In firestore-send-email, if I modify a template, these modifications are not applied. The html code is good, there is all my modifications, but the function still send the old template version.

Expected result

The updated template.

Actual result

Mail send with the old template

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mbleighcommented, Nov 6, 2019

Templates should be updated in realtime (see templates.ts in the source). The onSnapshot should be calling updateTemplates whenever one changes.

If not, that’s a bug…

0reactions
Ehespcommented, Nov 12, 2019

Ok let’s go ahead and close this one. Logically the code is working fine, however we’ll keep an eye on it. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Handlebars templates with the Trigger Email extension
Send emails using templates. To deliver email using templates, when adding documents to your mail collection, include a template field with name and ......
Read more >
Update email with a custom email template in Firebase
I have decided to use email template for verifying user email. In the backend, I call generateEmailVerificationLink(email ,actionCode) to create ...
Read more >
Sending emails using Firestore and Firebase Extensions
This extension allows data to be added to the template object so we can customize it and make each email unique. Update your...
Read more >
Emailing with Firebase: The Trigger Email Extension - Ayrshare
Into the Firestore welcome document, create a new String field called html and set the value as the content of your Handlebars template....
Read more >
Firebase Extension — Trigger Email | by Myrick Chow - Medium
It is a packaged and ready-to-use solution. It is mostly driven by a Cloud Function that observes a collection in your Cloud Firestore...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found