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

external method 'search_by_plan_id' failed with error: undefined method `id' for nil:NilClass (ScopedSearch::QueryNotSupported) #29

Closed
kgaikwad opened this issue Oct 31, 2018 · 0 comments

Comments

@kgaikwad
Copy link
Contributor

I am not sure why such a situation is arising for one of hostname but not getting host::managed object, where it triggers error - undefined method 'id' for nil:NilClass & failed create job through insights using playbook.

I think, here in host_managed_extension, needs to handle nil condition at line-16

kgaikwad added a commit to kgaikwad/foreman-plugin that referenced this issue Oct 31, 2018
@lphiri lphiri closed this as completed in 48275c8 Oct 31, 2018
lphiri added a commit that referenced this issue Oct 31, 2018
Fixes #29 - handle nil condition in search_by_plan_id
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