Skip to content

Draft: Include CE/EE hint in "version mismatch" error

What does this MR do?

When users upgrade from CE to EE and want to import a CE backup, the resulting error message does not make it clear, that

according to the backup and restore docu "exactly the same version and type" are required:

Your current GitLab version (X.Y.Z-ee) differs from the GitLab version in the backup!
Please switch to the following version and try again:
version: X.Y.Z

CE or -ce are not mentioned, because CE doesn't use that VERSION suffix.

An alternative to this text change might be a code change that explicitely checks the type as well.

Screenshots

See ZD ticket (internal) for context.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Katrin Leinweber

Merge request reports

Loading