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

Upgrade UI: Display error for malformed server response

    Details

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

      Description

      Example: While upgrading civicrm.org through the web UI, PHP encountered an "out of memory" error and sent a plain-text response with HTTP 501. This is not a JSON document, so the upgrade UI (CRM/Queue/Page/Runner.tpl) does not display it. Instead, the progress appears to stall without explanation.

      The upgrade UI should identify responses which are not well-formed JSON and display them as errors.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: