CRM-17844 Registering 'as someone else' still affects logged-in user

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      When completing a contribution form logged in, choosing to register as 'someone else' still updates the currently logged-in user's record.

      Steps to recreate on dmaster:
      http://dmaster.demo.civicrm.org/civicrm/contribute/transact?cid=0&reset=1&id=1

      Fill in the information and contribute.

      Note that no new contact has been created, and the contribution is registered against the demo user.

        Attachments

          Activity

          [CRM-17844] Registering 'as someone else' still affects logged-in user
          Coleman Watts added a comment -

          This sounds like a regression to me.

          John K. added a comment -

          Would be great if the test coverage could be extended to cover this

          Jitendra Purohit added a comment -

          Submitted a PR - https://github.com/civicrm/civicrm-core/pull/7635. The issue arises only when the authenticated user have 'view all contacts' permission and no contact is selected in the contact reference field. It doesn't seem to be a regression as this also affects the previous versions.

          Rohan Ramesh Katkar added a comment -

          Tested PR, working fine.

            People

            • Assignee:
              Rohan Ramesh Katkar
              Reporter:
              John K.

              Dates

              • Created:
                Updated:
                Resolved: