Modify upload license error language
What does this MR do and why?
Part of https://gitlab.com/gitlab-org/gitlab/-/issues/349810
Add clearer wording to the error messages when uploading a cloud license in the license upload form. While the error message won't show during the upload, the License model validation for an invalid license key is also slightly modified for a cloud license.
Screenshots or screen recordings
scenario | screenshot |
---|---|
before | |
after when uploading online cloud license | |
after with invalid offline license |
How to set up and validate locally
New error message for uploading cloud license:
- Copy the license key of a (online) cloud license.
- Go to
/admin/license/new
in your GitLab instance. - Paste the copied license key into the text area for
Enter license key
. - Check the terms of service.
- Submit the form
- See the updated error message.
New error message for an invalid offline license:
- Go to
/admin/license/new
in your GitLab instance. - Check the terms of service.
- Submit the form without entering a license key or uploading a license file.
- See the updated error message.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Corinna Gogolok