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

Profile type validation for On Behalf profiles is checking the custom_pre profile instead

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      If you add a membership or contribution custom field to the Top of Page profile for a contribution page AND you have enabled contributing on behalf of an organization - you will get a spurious fatal error: 'Mixed profile not allowed for on behalf of registration/sign up.'

      This is because the code which is supposed to prevent contribution and / or membership fields in the On Behalf profile was actually checking the wrong profile (CRM_Contribute_Form_Contribution_Main::preProcess).

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: