Uploaded image for project: 'Observation'
  1. Observation
  2. MGNLOBS-27

sendMailOnPageChanges listener doesn't have a mail template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.2
    • 2.0.1
    • None

      Observation module bootstraps a sendMailOnPageChanges listener but doesn't provide a mail template. So the listener doesn't work and the user basically needs to write their own template.

      Provide an email template script, template configuration, and a listener configuration that work with minimal changes (correct recipient address) out of the box.

      Find an example template attached. The script is very basic. Please add a model class similar to info.magnolia.module.commenting.PageCommentNotifModel to make the notification more informative:

      • Name of the user who edited the page
      • Link to the page that was changed
      • Timestamp when the page was edited

      Something like:

      User <username> changed page <page path and name, link> at <timestamp>.

        Acceptance criteria

              fgrilli Federico Grilli
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD