Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5490

contributions tab does not show contributiosn with NULL contribution_type_id

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0, 3.0.1, 3.0.2
    • Fix Version/s: 4.3.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      I'm not sure how it's happened, but somehow we've ended up with some contribution data will NULL contribution_type_id values. (This data could be the result of another bug, but I've tested the contribution data entry forms and I cant find any cases where it accepts blank contribution types)

      in any case... if a contribution has NULL for contribution_type_id it will not show up in the contact's contribution tab which seems bad-- I'd like it to show up up there. (Worth mentioning: the number of contributions displayed on the title for the tab does actually count these contribs, which is what I'd expect).

      I imagine the fix will involve changing a JOIN to a LEFT JOIN or something similar.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              seanmadsen Sean Madsen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: