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

Set appropriate status codes for form confirmation pages.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.9
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      We've recently had incidents where form submissions were failing due to a database error in one case, and problems with the eway payment provider in another.

      Form submissions in these cases returned a 302 redirect to a page that returned a 200 status code, even in case of failure. Had the status codes been set to indicate an error, our monitoring would have alerted us to the situation earlier, and it hit during a peak donation period.

      I suspect it might be best for the error status to be returned for the POST request rather than for the (negative) confirmation. Given a failure though, I figure that it might be a good thing for a page reload to re-run the request.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mc0e Andrew McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: