EmailActorConfigurationModel should be CultureSpecific, and Actor must respect localized model value

Found in

EPiServer.Forms 4.4.3

Created

Mar 20 2017

Updated

Apr 14 2017

Fixed in

EPiServer.Forms 4.5.0

Area

Built-in elements

State

Closed, Fixed and tested

Voting

Affected? You can raise the priority of a bug by voting for it. By doing so, you will be helping our developers to choose which bug to fix next.

Voting is disabled for closed bugs.

0

Description

By default, the configuration model of Actor (in general) is not localized. It brings the same behavior to Forms across all languages.

In the case of an email actor, localizing the email template makes more sense. We have a request from a partner that the SendEmailAfterSubmissionActor property of FormContainer be CultureSpecific, so the email template (with localized text) is sent in a related language.

Though we discourage developers from modifying the property SendEmailAfterSubmissionActor to CultureSpecific, if a developer modifies it, the EmailActor should respect localized placeholder.

  • use current language to generate the #placeholderName#
  • use correct actual value (of submission, in the current language) to replace #placeholderName#

Note: Built-in #summary# placeholder works correctly as expected.

Comments