Review 11.5 Merged

78251[BUGFIX] Avoid repeated e-mail content generation in FluidEmail

Markus Klein CR +2 V +2 Hard +361 −19 updated 04/24/23, 18:20

Commit message

Body content generation may be triggered by calling some getter or
indirectly when the mail is sent (via `ensureValidity`).

This changes ensures that multiple tries to generate the body are only
executed if the state of the view has actually changed.

This enables extensions to manipulate the content of an e-mail via
events without getting their changes overridden again when the mail is
sent.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3