-
Notifications
You must be signed in to change notification settings - Fork 7
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
NoMethodError when combined with foreman_cockpit plugin? #4
Comments
@xTrekStorex: What Foreman version are you running? I believe this is actually something that should be fixed over at foreman_cockpit, see theforeman/foreman_cockpit#15. |
Ah sry I forgot to mention that. 1.16.1 as of this morning. |
Ok, this is because of Foreman < 1.17 (& plugins for Foreman y 1.17) should still use |
@xTrekStorex: The code in #5 should fix this. Do you mind giving this a shot? |
@xTrekStorex: Yeah, that doesn't look related. Please attach the complete stack trace, then it should be easy to figure out. |
I get the following stacktrace when I open a host view. I barely know ruby but from what I understand the inherited method
host_title_actions
doesnt exist which I relate to foreman_cockpit being installed and redeclaring(?) it ashost_title_actions_with_cockpit
andhost_title_actions_without_cockpit
in https://github.com/theforeman/foreman_cockpit/blob/47ddc0cc19e64c1aadc1c8c5da621ca00361b4e1/app/helpers/concerns/foreman_cockpit/hosts_helper_extensions.rbThe text was updated successfully, but these errors were encountered: