[MGNLMAIL-48] mail module can't get mail with new MailTemplate Created: 16/Sep/10  Updated: 02/Jan/15  Resolved: 02/Jan/15

Status: Closed
Project: Magnolia Mail Module
Component/s: Backend, Templates
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Thomas Kalmar Assignee: Robert Šiška
Resolution: Obsolete Votes: 0
Labels: mail
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

MailModule fails to send a Mail

the error is on

MgnlMailFactory line 144
if(renderers.containsKey(template.getType().toLowerCase())){

an new MailTemplate has no Type so the Type is null and this fails

for example when comming from
public MgnlEmail getEmail(Map<String, String> params, List<MailAttachment> attachments) { (Line 110



 Comments   
Comment by Robert Šiška [ 02/Jan/15 ]

Solved by MAGNOLIA-4673

Generated at Mon Feb 12 06:03:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.