Summary: When comments are published from the comment approval queue, the submission form returns a blank page, and no notifications are made.

On a 4.7.3 site I have successfully installed comment notify, with the patch to comment.module. It works when comments are published immediately on submission, but fails when comments go into the comment moderation queue

The workflow on the site is:
Anonymous and authenticated users CANNOT 'post comments without approval' thus... comments are put into the approval queue.

without comment notify:
Administrator goes to the approval queue - admin/comment/list/approval.
Admin selects 'publishes the comment', and hits 'update'
the 'published comments' page is displayed
the comment is published

with comment notify:
Administrator goes to the approval queue - admin/comment/list/approval.
Admin selects 'publish the comment', and hits 'update'
>>>Blank page is returned<<<
A refresh brings up the 'published comments' page, with the message:
"An illegal choice has been detected. Please contact the site administrator."
In the log: "Illegal choice 25399 in comments element. "
Regardless, the comment is published.
But comment notify does not do the mail notifications.

From my initial analysis and break-point testing the problem is most likely in function _comment_notify_mailalert2($comment)

Comments

Christoph C. Cemper’s picture

Status: Active » Closed (duplicate)

is this duplicate with http://drupal.org/node/124566 ?

jdsaward’s picture

Yes; sorry. duplicate by mistake. Can be removed I think.