xwikisas / application-office365

Office365 integration
2 stars 2 forks source link

Cannot upgrade from 1.11 to newer versions #32

Open oanalavinia opened 8 months ago

oanalavinia commented 8 months ago

Steps to reproduce:

  1. Install Office365 version 1.11
  2. Try to upgrade to a newer version, e.g. 1.11.1 (or 1.11.2, 1.11.3)

Expected result: Upgrade is done

Actual result: Upgrade fails with the following error Ranges [[2.4.11,]] and [[1.3.2,2.4.2]] are incompatibles

image

Investigation: This is caused by https://github.com/xwikisas/application-office365/issues/25. The fix made the app compatible with OIDC, which required net.minidev:json-smart [2.4.11,], but it become no longer possible to upgrade from older versions that had the [1.3.2,2.4.2] range defined

Until the issue is fix, the workaround would be to:

  1. Uninstall net.minidev:json-smart This will also uninstall office365, as well as other apps that require this small extension, so make sure to install them back after
  2. Install the new version of office-365 Again, make sure to install back other removed extensions (e.g. OIDC requires this extension)
snazare commented 8 months ago

to document workaround