Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.1.2
-
None
Description
It is currently possible to execute an upgrade, bypassing the prerequisite endpoint checks entirely by using the upgrade endpoint API. For users that plan to use the APIs directly instead of the web client, this can present a problem if they have prerequisites for the upgrade that are not yet met.
The upgrade endpoint should, by default, check the prerequisite endpoint to see if any checks have failed. If there is a failure, an error code should be returned and the upgrade will not begin. However, there can be an optional override to the API upgrade request to force the upgrade regardless of prerequisite checks:
{ "Upgrade": { "repository_version": "2.3.0.0-2545", "skip_prerequisite_checks": true } }
Attachments
Issue Links
- links to