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

Cannot create Service Dialog from Template depending on navigation steps #6375

Closed
hstastna opened this issue Nov 4, 2019 · 1 comment
Closed
Assignees

Comments

@hstastna
Copy link
Contributor

hstastna commented Nov 4, 2019

There's an issue regarding creating Service Dialog from selected Template: error occurs if we provide creating Service Dialog from a template selected from the list of Templates under for example "Ansible Tower Automation Manager".

Steps:

  1. Automation > Ansible Tower > Explorer > Templates accordion
  2. In accordion, click on some node with child nodes, for example on "Ansible Tower Automation Manager", and appropriate templates are being displayed
  3. Check the checkbox of some template in the list
  4. Configuration > Create Service Dialog from this Template
    => nothing happens in the UI, error:
[----] I, [2019-11-04T16:00:58.629721 #15605:58bb58c]  INFO -- : Started POST "/automation_manager/x_button/19?pressed=configscript_service_dialog" for 127.0.0.1 at 2019-11-04 16:00:58 +0100
[----] I, [2019-11-04T16:00:58.675476 #15605:58bb58c]  INFO -- : Processing by AutomationManagerController#x_button as JS
[----] I, [2019-11-04T16:00:58.675611 #15605:58bb58c]  INFO -- :   Parameters: {"miq_grid_checks"=>"115", "pressed"=>"configscript_service_dialog", "id"=>"19"}
[----] F, [2019-11-04T16:00:58.691578 #15605:58bb58c] FATAL -- : Error caught: [NoMethodError] undefined method `id' for nil:NilClass
/home/hstastna/manageiq/manageiq-ui-classic/app/controllers/automation_manager_controller.rb:448:in `configscript_service_dialog'
/home/hstastna/manageiq/manageiq-ui-classic/app/controllers/application_controller/explorer.rb:108:in `x_button'

dialog_err

Expected result:
create_dialog

Note:
While being on All Ansible Tower Templates node in accordion, creating Service Dialog from a selected Template works as expected.

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