CRM-12821 SQL in 4.3.alpha1.mysql.tpl can fail if civicrm_dashboard_contact references deleted contacts

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Unsure how this DB got into a state where there are civicrm_dashboard_contact.contact_id values which aren't in civicrm_contact.id, but that's where it is.

      Anyway, we can handle that pretty easily (either a JOIN or, better IMO, cleaning them out).

        Attachments

          Activity

          [CRM-12821] SQL in 4.3.alpha1.mysql.tpl can fail if civicrm_dashboard_contact references deleted contacts
          Chris Burgess added a comment - - edited

          https://github.com/civicrm/civicrm-core/pull/1016

          Fix is trivial and looks it'll have no negative impact on data - Kurund are you sure this needs to wait until 4.5?

          Chris Burgess added a comment - - edited

          Just saw your email re 4.4 => 4.5 for issues which lack PR, which answers question above.

          As PR link is above, so this can go back to 4.4 now?

            People

            • Assignee:
              Kurund Jalmi
              Reporter:
              Chris Burgess

              Dates

              • Created:
                Updated:
                Resolved: