When going to the Notifications Setting page, tab Topics you can see topics that you have followed.
If only a single user follows the topic, and has the Send email flag checked everything is fine.
Once a second user follows a topic, and has the send email checked, two rows of the same topic are shown, as in image.

I believe this is a Views issue, because the email flag relationship is set to any user. If you switch it to current user, the duplicates disappear.

CommentFileSizeAuthor
share5.png69.23 KBalcroito
share4.png36.11 KBalcroito
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alcroito’s picture

Issue summary: View changes
alcroito’s picture

Issue summary: View changes
japerry’s picture

Version: 7.x-3.15 » 7.x-3.16
Issue tags: +Commons 3.17 radar

Thanks for the find, I'm writing tests for these this week so we'll see if I can capture this error within those and then make a fix for it!

  • japerry committed ba10a25 on 7.x-3.x
    Issue #2308159 by japerry: Remove duplicate topics from appearing on...
japerry’s picture

Status: Active » Fixed

Well making a test for this was proving to be very difficult. However, I did figure out how to get the distinct in the view to correctly limit duplicates. We use distinct instead of the any/current user flag because users with admin access can view other users' notification settings. If we made the change suggested above, you wouldn't see the correct output when viewing someone elses page.

Status: Fixed » Closed (fixed)

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