Invalid token error occurs when customizing the default mail text.

Created on 8 October 2023, 9 months ago

Problem/Motivation

I receive the following error when customizing the default mail text after installing Comment Notify for the first time.

Default mail text for sending out notifications to commenters is using the following invalid tokens: [comment-subscribed:author], [comment-subscribed:unsubscribe-url].

Steps to reproduce

  1. Install and enable Comment Notify
  2. Navigate to the Comment notification settings page.
  3. Enable Comment Notify on an entity with commenting and update the default mail text, keeping the default tokens in use.
  4. Try saving the form.

Proposed resolution

Fix the issue, cause TBD.

Current workaround: Save the Comment Notification settings page without those invalid tokens. Clear cache. Now the tokens are available and you can use them in your email.

Remaining tasks

  1. ❌ Identify the cause of the bug
  2. ❌ Fix the bug
  3. ❌ Test

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cedewey Denver, CO

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024