Actions
Bug #24525
closedImporting roles via UI broken
Difficulty:
Triaged:
No
Description
UI controllers use the 'notice' method that was previously deprecated and removed once 1.20 was branched.
Steps to reproduce:
1) import roles via ui
2) observe the error
2018-08-02T13:24:30 [F|app|] ArgumentError (wrong number of arguments (given 1, expected 0)): 2018-08-02T13:24:30 [F|app|] 2018-08-02T13:24:30 [F|app|] /home/vagrant/projects/foreman_ansible/app/controllers/ansible_roles_controller.rb:29:in `import' | app/controllers/concerns/application_shared.rb:15:in `set_timezone' | app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' | app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' | lib/middleware/telemetry.rb:9:in `call' | lib/middleware/catch_json_parse_errors.rb:8:in `call' | lib/middleware/logging_context.rb:23:in `call' | /home/vagrant/projects/katello/lib/katello/prevent_json_parsing.rb:12:in `call'
Actions