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

Update recurring contribution - prevent 'Financial Type is required field' validation error

    Details

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

      Description

      Donors can do self-service updates of their recurring contributions.

      The PHP makes the Financial Type field 'is required', but then the TPL excludes the field when it is being used in the self-service mode. So the form fails validation in this case.

      The change is to make the field non-mandatory in self-service mode. This is safe because Financial Type is mandatory for contributions, so it will have a non-NULL value before the form is displayed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ken Ken West
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: