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

Membership Since Date missing and Status changed to 'Current' after renewal from Online Contribution page

    Details

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

      Description

      Steps to replicate:
      1) Configure any Online Contribution Page(OCP) with quick-config/price-set with membership-type.
      2) Register any new/current contact for chosen membership type say 'MT-A' via OCP registration page.
      3) After registration got the contact's membership view page. You will find -
      a) Membership Since Date is missing/empty
      b) Notice: Undefined variable: finType in CRM_Member_Form_MembershipView->preProcess() (line 172 of /home/monish/src/civicrm/CRM/Member/Form/MembershipView.php).
      c) Rest all other information are correct.
      4) Now again register the same contact against MT-A in order to renew via OCP and visit the contact's membership view page. You will find the same two issues mentioned in step 3. Aslo the membership status is changed to 'Current' instead of 'New' incorrect.

      Encountered in
      WebTest_Member_OnlineMembershipAddPricesetTest.testAddPriceSet
       WebTest_Contribute_StandaloneAddTest.testfinancialTypeSearch

      Error:
      Failed asserting that '' matches PCRE pattern "/November 12th, 2015/".
      Failed asserting that 'Current' matches PCRE pattern "/New/".
      Failed asserting that '' matches PCRE pattern "/November 12th, 2015/".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eileen Eileen McNaughton
                Reporter:
                monish.deb Monish Deb
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: