Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.12
-
Fix Version/s: 4.7.14
-
Component/s: CiviMember
-
Labels:
-
Documentation Required?:None
-
Sprint:4.7.14 Financial
-
Funding Source:Core Team Funds
Description
to reproduce:
- create a membership type and set auto-renew as required
- create membership price set and include the auto-renew membership
- create contrib page for memberships and assign this price set
- visit the live contrib page
no auto-renew option or notification is included, and if the form is submitted, auto-renew is not triggered. if you view the console log, you will see the following error:
showHideAutoRenew is not defined
in templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl, around line 230, we condition the inclusion of the showHideAutoRenew function on whether the form is a quick config form or not. since a price set is not quickconfig, the function is not include in the page – but is called from the rendered form field. I suspect that js error trickles down and prevents the auto-renew option from getting set.