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

Don't crash if contact ID not found when viewing contact

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.29
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      In various situations you end up at civicrm/contact/view without URL parameters (for example logging back in after session expiry).  Currently this crashes CiviCRM with a fatal error.

      This PR changes it so that instead it bounces back to the Civi dashboard, improving the user experience.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattwire Matthew Wire
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: