CRM-11494 Contribution form accepts end date earlier than start date

    Details

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

      Description

      On the Title and Settings tab when editing a Contribution page, it is possible to save a page with an end date earlier than its start date. This shouldn't be allowed by the form validator. It has bad effects, such as making Personal Campaign Pages fail in unexpected ways (donate button does not appear).

      We will try to submit a patch for this next week.

        Attachments

          Activity

          [CRM-11494] Contribution form accepts end date earlier than start date
          Monish Deb added a comment -

          I have provided validation to fix the current issue in formRule().

          David Greenberg added a comment -

          Committed revision 44383.
          Also updated help text on those fields to clarify that they will affect Personal Campaign Page donate button visibility. Thx for the patch.

            People

            • Assignee:
              David Greenberg
              Reporter:
              John Sullivan

              Dates

              • Created:
                Updated:
                Resolved: