Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Deleted comments not replicated to Publish instances

Anonymous
Not applicable

Newly created comments are replicating properly across the Publish and Author instances. However, when deleting comments, the comments are removed from the Author instance but *not* the Publish instances. No exception is being thrown in the logs. Where would be the best place to look at troubleshooting this issue?

1 Accepted Solution
JK_Kendall
Correct answer by
Level 8
Level 8

Try using the Communities (moderation) console on Author to delete comments instead of deleting them in-context.

http://localhost:4502 > Communities

- JK

View solution in original post

5 Replies
edubey
Level 10
Level 10

Hi,

See this helpful one : http://stackoverflow.com/questions/18179311/delete-comments-from-cq5-blog-publish-instance

Try following: 

Add a comment, and ensure that its replicated.

Then delete it in author, so you must get something in logs. Please share wht you get.

JK_Kendall
Correct answer by
Level 8
Level 8

Try using the Communities (moderation) console on Author to delete comments instead of deleting them in-context.

http://localhost:4502 > Communities

- JK

JK_Kendall
Level 8
Level 8

Right.  The stackoverflow article virtually says the same thing - use the Community moderation console on author to delete comments.  Or you can setup a workflow.  This is for AEM (CQ) 5.6.1.

I believe what failed was trying to delete the comment in-context on author, same as the user who posted the comment could do on publish if the comment properties were set to allow the user to delete their own comment.  

User generated content (UGC), which is typically entered on publish, is handled differently from page content, which is typically entered on author.

- JK

Anonymous
Not applicable

Thank you for your help. Using the Social Communities admin interface I was able to successfully delete comments from both the author and publish instances. I am a bit curious, however, as to why AEM even allows comments to be deleted from the blog post page when these changes are not propagated to the publish instances?

Either way, iv'e solved my problem. Thanks again.

JK_Kendall
Level 8
Level 8

You're welcome!

I don't know the history, I only know that management of UGC, and Communities itself (formerly known as Social Communities) is undergoing quite a transformation.

- JK