When handling the comment flags, I noticed the following two comments being flagged.

screenshot

Since the flagger was not the user who posted the comment, and I was not understanding why the comment would be flagged as spam, I clicked on View, and noticed that the user who posted the comment is davps.

screenshot

The user changed username, but the view still used the old username to show the author. I take this is a caching issue.

I set the priority to Minor, but it's really important for the users who handle flags to understand if the flag on a comment was raised from the user who posted the comment, as those flags are immediately discarded because the user probably mis-clicked on report as spam. (I doubt users would mark their own comments as spam.)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kiamlaluno created an issue. See original summary.

drumm’s picture

Assigned: Unassigned » drumm

  • drumm committed c3195e5 on 7.x-3.x
    Issue #3087568: https://www.drupal.org/admin/content/spam/comment uses...

  • drumm committed 28e186f on 7.x-3.x
    Issue #3087568: Make author column sortable again
    
drumm’s picture

Status: Active » Fixed

This is now fixed. It wasn’t caching specifically, Drupal comments have a name column in the comment table, which is not updated with user updates, and that was being displayed.

apaderno’s picture

I forgot I reported the same problem for a view showing a list of comments used on api.d.o, for which the cause was the view taking the username from the comment database table, like in this case. (Yes, assuming the cause was caching was totally wrong from my side.)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.