Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.3
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      CiviCRM upgrade script at /civicrm/upgrade?reset=1 currently has no way to track its status.
      Proposed improvement is to use the version value to mark the system as 'UPGRADE'. This is particularly useful for user such as me who can get distracted while reading very important messages such as 'update failed. restore your database and start the upgrade process again' and in case of minor updates end up using partially updated system which can lead to all sort of bad dreams.

      Here's the full proposal:
      For example the upgrade script in upcoming 3.1.3 would update the version of the system from 3.1.2 to 3.1.3.
      Change this to first update value of the version to
      UPGRADE:3.1.3-3.1.4
      and only at successful end of the upgrade process set it to 3.1.4

      Then make the main template check for the UPGRADE at the start of the version string and in case it is found make it very noticeable and put appropriate warning to restore the backup (does not need to be pretty - system is pretty much broken at this stage).

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              goran goran gugic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: