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

Editing contact with 'edit contacts' but not also 'add contacts' is a fatal error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 2.2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      In 1.7, if a user has view rights to a contact, clicking the "Edit" button will cause a fatal error if the user has the permission 'edit contacts' but does not also have the 'add contacts' permission.

      Cause: looking in the debugger, it appears that the Edit button is going through the contact / add bottleneck. Call to fatal() is in CRM_Core_Invoke::contact, at line 171 of CRM/Core/Invoke.php.

        Attachments

          Activity

            People

            • Assignee:
              amit Amiteshwar Prasad
              Reporter:
              torenware Rob Thorne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: