Hi - I found a small bug: when replacing email tem...
# ory-network
j
Hi - I found a small bug: when replacing email template I had to click save couple of times to actually save it. It showed a green window, but used the old template anyway. The sate isn't refreshed for sure, pressing F5 fixed old data in the editor. But I'm pretty sure I also modified the template, saved it and the old one was used when an email was sent.
b
Hi, thanks for the report. I could not reproduce this, and it’s quite hard to tell what’s going on from the distance. But just to confirm: 1. you edited the HTML of one of the templates 2. clicked save and the green confirmation popped up in the bottom right 3. reloaded the page and the HTML was the old HTML again? 4. The email sent by Ory still contained the old HTML?
j
yes
1-3 - I'm 100% sure
and pressing F5 sometimes fixed the problem
maybe all templates are sent all at once, and overwrite each other?
I had 4 tabs open, saved each template separately and discovered template haven't changed
in the actual email I received
s
it should have integrity checks in place to not revert changes from other tabs, but there is probably a bug anyway, maybe with the merge logic in the retry
for now, I recommend to update them one after the other in the same tab 😅
j
+ click 3 times "Save" works 😄
Additionally - when I switch the project I see the templates from the previous project