Skip to content

Fix NoMethodError: undefined method `>' for nil:NilClass in license.rb

What does this MR do?

When using a license with an addon with count nil, the app should not crash

Screenshots

Contents of the license I've been using:

[1] pry(main)> License.current.add_ons
=> {"GitLab_Geo"=>nil,
 "GitLab_FileLocks"=>nil,
 "GitLab_ServiceDesk"=>nil,
 "GitLab_DeployBoard"=>nil,
 "GitLab_Auditor_User"=>nil}

What are the relevant issue numbers?

Closes #3513 (closed)

Edited by Toon Claes

Merge request reports