Downloading a license results in a new license being generated
Summary
Each time a license is downloaded from the Customers Portal > Manage purchases
screen, a new license is generated.
Steps to reproduce
- Go to
Customers Portal > Manage purchases
screen - Use the
Download license
button to download the license file. Do this twice. - Observe in https://customers.gitlab.com/admin/license that the license was created twice. Inspecting the details page will show a different digest and key.
- Decoding the downloaded files will show that the information is the same in both files.
What is the current bug behavior?
Each time a license is downloaded from the Customers Portal > Manage purchases
screen, a new license is generated.
Possibly relevant is that for the subscription where I observed this behavior the existing license was present in LicenseDot, but not yet in CustomersDot.
What is the expected correct behavior?
Each time a license is downloaded from the Customers Portal > Manage purchases
screen, the existing license is returned.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)
Workarounds
(Ways to get around the issue)
Reported examples
Edited by Rene Verschoor