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

Online membership renewal via contribution page no longer sets existing membership as default

    Details

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

      Description

      Existing membership is not set as default for quick-config online contribution page membership renewal.

      The problem is that on line 284 in Main.php, $this->_useForMember is FALSE for quickConfig so the default is not set.
      if ($this->_useForMember && !empty($this->_currentMemberships)) {

      This value is set false on line 454, but I don't know why (no comment there)???


      To recreate:

      • Signup for a Student membership via sample online contribution page id=2 (as logged in user)
      • Go back to online contrib page. The page properly has the "Your Student membership will expire ..." BUT the membership radio button is set to the PAGE default (General) instead of the membership that the user currently has.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: