[MGNLCMNT-104] Sending an email notification on new comments fails Created: 17/Apr/14  Updated: 17/Apr/14  Resolved: 17/Apr/14

Status: Closed
Project: Commenting (closed)
Component/s: Template
Affects Version/s: 2.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Antti Hietala Assignee: Christoph Meier
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLCMNT-103 PageCommentsNotification.ftl throws e... Closed
Template:
Acceptance criteria:
Empty

 Description   

Cannot send email notifications on new comments. The PageCommentsNotification.ftl template script that is used to compose the mail body contains the expression:

${model.retrievePageLink(path)}

The model class PageCommentNotifModel fails when the retrievePageLink() method is invoked. See error log attached.

To reproduce:

  1. Export the sendMailOnPageComments listener configuration.
  2. Install Observation module (not installed by default although listeners are present. When installed, will wipe out listeners.)
  3. Import the sendMailOnPageComments back in.
  4. Enable the listener.
  5. Configure mail.
  6. Add a commenting component in /demo-project/about/history
  7. Leave a comment on the page.


 Comments   
Comment by Antti Hietala [ 17/Apr/14 ]

Duplicate of MGNLCMTN-103

Generated at Mon Feb 12 00:03:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.