Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing expire date kills status view #73

Open
dgoetz opened this issue Apr 19, 2023 · 0 comments
Open

Removing expire date kills status view #73

dgoetz opened this issue Apr 19, 2023 · 0 comments

Comments

@dgoetz
Copy link
Member

dgoetz commented Apr 19, 2023

I found that if a host has an expire date set and this gets removed, the status gets not cleared and the to_date in app/models/host_status/expiration_status.rb running on nil fails causing the status view to show only N/A for every state and showing no detail statuses.
If you reset the status for example by delete the database entry, everything is fine again.
Another option would be to always show a state like "OK - No expire date set" in case of no date is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant