Template type is ignored when rendering; deleting a used template fails with 500 #44
Labels
No labels
bug
dependencies
documentation
feature
phase-summary
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vmanne-poc/Postak#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bugs
Template.typeis never used. An HTML template is merged into a Markdown campaign, and the whole result goes through the Markdown parser, which can damage the HTML. The renderer should handle each combination (template type × campaign body type) on purpose: convert the Markdown body first, then merge it into the HTML layout.onDeleterule, so the database rejects the delete and the API returns a 500. It should return 409 when DRAFT or SCHEDULED campaigns use the template, and cleartemplateIdon campaigns that were already sent (as segments do).Done when