Tracker JS does not send comment field name in ajax call

Created on 2 June 2024, 7 months ago

This is found in tracker-history.js
function processNewRepliesIndicators

This function makes an ajax call to url: Drupal.url('comments/render_new_comments_node_links')
and sends post data as data: { 'node_ids[]': nodeIDs },

Where as this function in comments module expects two arguments : nodeId and fieldName.

Before Drupal 10 comments module CommentController was checking only existence of nodeid
However since Drupal 10 both nodeid and fieldname are validated .... or NotFoundException is thrown.
As a result Tracker in Drupal 10 is resulting into page_not_found errors.

This needs to be fixed in tracker module.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024