Content need an update when version 1.3 is installed (MGNLFORM-120)

[MGNLFORM-118] Update info.magnolia.module.form.processors.SendConfirmationEMailProcessor.internalProcess() by removing the old reference to "confirmMailBody" Created: 21/Dec/11  Updated: 03/Dec/15  Resolved: 03/Dec/15

Status: Closed
Project: Magnolia Form Module
Component/s: migration & updates
Affects Version/s: None
Fix Version/s: 2.2.x

Type: Sub-task Priority: Major
Reporter: Samuel Schmitt Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: next, quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
relation
is related to MGNLFORM-119 Cleanup content that contains old pro... Closed
Template:
Date of First Response:

 Description   

Before version 1.3 of Form, the property "confirmMailBody" was available in the dialog /modules/form/dialogs/form/. Since Form 1.3, this property has been replaced by "confirmContentType".

As the content will be updated (see link task), we must also update this line

String body = PropertyUtil.getString(content, "confirmMailBody", PropertyUtil.getString(content,"confirmContentType"+contentType));

by removing the reference to "confirmMailBody"



 Comments   
Comment by Rory Gibson [ 29/Nov/12 ]

We are having a problem after update of forms module to 1.3.2 the email templates we added to contentTypetext have gone missing as the field was updated to use name contactMailBody instead in the new module. Since we have more than 150 forms across the site, this is going to have a major impact and the emails will not send out the template text at all.

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