Closed vladimirsafronov1251 closed 4 years ago
Seems that passing not reversed array to Date.new fixes the problem, but this was not intensively tested and might break another things.
change to Date.new(*expiration_date_arr) unless expiration_date_arr.all?(&:zero?)
fixes this issue
Hello, after upgrade Foreman to 1.24.3 and foreman_expire_hosts plugin to 7.0.0 we cannot update expiration date of hosts with "select action" button and getting "Invalid expiration date!" error. Change of expiration date from host's properties is working as usual.
In logs we got only following with loglevel=debug: