Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
Drupal
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Development
  • Drupal
  • Issues
  • #103

Closed
Open
Opened Jan 06, 2020 by kenahoo@kenahoo

Many duplicates in Drupal view of CiviCRM contributions

I have a Drupal view configured as shown in the attached screenshot:

Screen_Shot_2020-01-05_at_8.53.03_PM

This results in lots of duplicate results in the listing, as you can see:

Screen_Shot_2020-01-05_at_8.54.17_PM

Not every contribution is duplicated, but many are.

Some notes:

  • There are 16 total entries for contribution #1. 16 is suspiciously a power of 2.
  • If I decrease the number of address fields shown, the number of duplicates gets cut in half each time.

So I'm guessing there's some poorly-formed SQL join between contributions and addresses, resulting in the Cartesian product of join fields or something like that. Any way to diagnose?

Thanks.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/drupal#103