catalyst / moodle-mod_reengagement

Allows timed release of content and emails users to remind them to complete a course activity
23 stars 39 forks source link

Links in emails change to some internal code, can't be opened from mail #132

Closed VOOM108 closed 10 months ago

VOOM108 commented 1 year ago

I have seen this issue on several Moodle instances between 3.6 and 4.0.

The email-content includes text-links like (in source code):
<a href="https://ourmoodle.com/course/view.php?id=38">Go to the course</a>

After saving it for the first time, it stays that way. Many times, and I am even not sure about under what conditions, these links change to something like this: <a href="$@COURSEVIEWBYID*38@$">Go to the course</a>

When this happens, only coming to our attention when recipients can't click the link in the email, it shows the same way inside the editor code view of the plugin. However, usually, opening the reengagement settings, the links look fine.

Thus, we don't know how to prevent that from happening, and obviously this is bad for the recipients of those mails...