[MGNLFORM-372] Confirmation email - wrong mail type for html Created: 21/Feb/22  Updated: 18/Oct/22  Resolved: 05/Apr/22

Status: Closed
Project: Magnolia Form Module
Component/s: processor
Affects Version/s: 2.7.3
Fix Version/s: 2.7.5

Type: Bug Priority: Major
Reporter: Björn Eschle Assignee: Thuy To
Resolution: Fixed Votes: 0
Labels: VN-Analysis, VN-Maintenance
Remaining Estimate: 0d
Time Spent: 4d 1.25h
Original Estimate: Not Specified

Attachments: PNG File image-1.png     PNG File image-2022-02-21-08-22-47-802.png     PNG File image-2022-02-21-08-24-06-621.png     PNG File image-2022-02-21-08-24-40-172.png     PNG File image-2022-02-21-08-24-48-189.png     PNG File image-2022-04-07-13-47-39-033.png     PNG File image.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Date of First Response:
Epic Link: AuthorX Support
Sprint: AuthorX 6
Story Points: 2

 Description   

Steps to reproduce

  1. Create a form and configure a confirmation e-mail with mail type empty and type "code"
  1. Submit Form

Expected results

Html formatted confirmation e-mail

Actual results

Plain text confirmation e-mail

Workaround

Rename option/field "code" to "html" or explicitly use mailType field

  1. /modules/form/dialogs/form/form/tabs/tabConfirmEmail/fields/confirmContentType/options/code
  2. /modules/form/dialogs/form/form/tabs/tabConfirmEmail/fields/confirmContentType/fields/code

Development notes

Option/Field has wrong name "code" instead of "html"

 



 Comments   
Comment by Lam Nguyen Bao [ 21/Mar/22 ]

Hi beschle ,

In order to have mail type, you can provide "html" mail type in "Mail type" in put above. If "Mail type" is empty the type will be taken. "Mail type" has higher priority than "type" options. 

Thanks,

Lam Nguyen

Comment by Björn Eschle [ 21/Mar/22 ]

Hey @Lam Nguyen Bao, thanks for the reply. We're already using the mailType field as a workaround. However if code/(html) is selected, the fallback mail type should be html.

Regards,

Björn

Comment by Thuy To [ 07/Apr/22 ]

Note for document: I've renamed the option label of type from 'code' to 'html'

Generated at Mon Feb 12 05:39:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.