Skip to content

Fix upgrade failure in EE displaying license

Stan Hu requested to merge sh-fix-license-check-migration into master

When upgrading to 12.8 EE, the initializer might fail with NoMethodError: undefined method 'pluralize' for LicenseHelper:Module if the license neared expiry. This happened !24998 (merged) changed the database check so that the license warning would actually be displayed, but inside an initializer pluralize is not available.

The easiest way to fix this now is to revert the database check to the original version.

Closes #207737 (closed)

Edited by Yorick Peterse

Merge request reports