ActivityCreatorBatchActivityDeletion not compatible with Ajax Comments

Created on 27 June 2023, over 1 year ago

Problem/Motivation

When Ajax Comments is used, the new batch process to remove all activities related to a comment, when the comment is deleted, breaks Ajax Comments to work properly and keeps empty activies left over.

Steps to reproduce

Enable Ajax Comments, create a topic and comment the topic. Take a look at the home-stream and everything is fine.

Go back to the topic and try to delete the comment. A modal window appears with the hint that all child comments will be deleted (that's fine) but after some processing it appears again. When reloading the page the comment is deleted, but going back to the home-stream it looks like this.

This behaviour is triggered by the output of the new batch processing.

Proposed resolution

Check if Ajax Comments is enabled and use the "old processing" instead of the new batch, or find a way to run the batch with no output that will break Ajax Comments.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

11.9

Component

Code (back-end)

Created by

🇩🇪Germany slowflyer

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

Comments & Activities

Production build 0.71.5 2024