Ajax error when user save note

Created on 9 May 2025, about 1 month ago

Problem/Motivation

After add note and save, users receive error message.

Steps to reproduce

Create a clean install using:

  1. Drupal: 10.4.7
  2. Moderation Note: 8.x-1.0-beta6
  3. set basica page content type to being moderated
  4. create some test content
  5. view the node, select the text and try to save the note

Proposed resolution

Adding the parent::__construct(); call in the NoteMail class constructor.
To ensures that the parent class's constructor (PhpMail::__construct()) is executed.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡§πŸ‡·Brazil igorgoncalves

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024