Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2765

Fix upgrade/downgrade mechanism

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.10
    • Component/s: Release
    • Tags:
    • Team:
      DRIVE
    • Sprint:
      nxdrive #6
    • Story Points:
      3

      Description

      Starting from 5.2.9 we decided to put the auto-update feature and advanced feature "install new version automatically" disabled by default. But following this we discovered that the upgrade process wasn't correctly working for a long time.

      UPGRADE
      Steps to reproduce: 
      1. Install Nuxeo Drive from scratch 
      2. Make sure to enable the auto-update feature and disable the advanced feature to automatically install the new version.

      The idea here is to check that we can correctly see the message in the systray informing us that an upgrade is available and launch it.

      3. Move the channel update to alpha to fetch the latest one. 

      Expected results:

      • A message in the systray informs that a new update is available.
      • You can click on this message to install the newest version and Drive is updated accordingly. 

      Actual results: 

      • A message is displayed at the bottom of the systray saying that an update is available
      • You can click on it but nothing happens, it's blocked with the orange icon of the update.  
      • You have to enable the advanced feature, close and reopen Drive to make it works.

      DOWNGRADE
      Steps to reproduce: 
      1. Be on Beta channel version 5.2.9 
      2. Enable the auto-update feature and disable the advanced feature to automatically install the new version.

      3. Change the channel update to Release (we want to downgrade to 5.2.8).

      • A broken popup window asks for confirmation to downgrade or stay on the actual channel. The versions aren't displayed (see screenshot attached). 

      4. click on "Downgrade to

      • Nothing happens. 

      Expected results: 

      • A message in the systray informs that a new update is available.
      • You can click on this message to install the downgrade version and Drive is downgraded accordingly. 

       

      Tested: on different alpha, beta and release versions, it never works. 

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: