Project

General

Profile

Actions

Bug #20003

open

auto complete errors on JobTemplatesController

Added by Ohad Levy over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Processing by JobTemplatesController#index as HTML
2017-06-13T16:12:59 2abae20c [app] [I]   Parameters: {"search"=>"job_category  =  Commands"}
2017-06-13T16:12:59 2abae20c [app] [I] Current user: admin (administrator)
2017-06-13T16:12:59 2abae20c [app] [W] Failed generating link using ["Cancel", "javascript:close_import_job_template_modal();", {:class=>"btn btn-default"}]
 | NoMethodError: undefined method `split' for nil:NilClass
 | /home/foreman/git/foreman/app/helpers/application_helper.rb:14:in `link_to'
 | /home/foreman/git/foreman/app/helpers/form_helper.rb:254:in `block (2 levels) in submit_or_cancel'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:38:in `capture'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
 | /home/foreman/git/foreman/app/helpers/form_helper.rb:251:in `block in submit_or_cancel'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:38:in `capture'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
 | /home/foreman/git/foreman/app/helpers/form_helper.rb:250:in `submit_or_cancel'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-23c92eed2a52/app/views/job_templates/_import_job_template_modal.html.erb:15:in `block in _7d8e6918fcfe992e01482eb8317f8e90'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/capture_helper.rb:38:in `capture'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/helpers/form_helper.rb:444:in `form_for'
 | /home/foreman/git/foreman/app/helpers/form_helper.rb:288:in `form_for'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-23c92eed2a52/app/views/job_templates/_import_job_template_modal.html.erb:12:in `_7d8e6918fcfe992e01482eb8317f8e90'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/template.rb:145:in `block in render'
 | /home/foreman/gems/gems/activesupport-4.2.8/lib/active_support/notifications.rb:164:in `block in instrument'
 | /home/foreman/gems/gems/activesupport-4.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
 | /home/foreman/gems/gems/activesupport-4.2.8/lib/active_support/notifications.rb:164:in `instrument'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/template.rb:333:in `instrument'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/template.rb:143:in `render'
 | /home/foreman/gems/gems/deface-1.2.0/lib/deface/action_view_extensions.rb:41:in `render'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
 | /home/foreman/gems/gems/actionview-4.2.8/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
Actions #1

Updated by Ohad Levy over 7 years ago

also, in the browser console i'm seeing the following:

 
Uncaught SyntaxError: Identifier 'KEY_DELM' has already been declared

at lookup_keys-d20c72a….js:1
Actions

Also available in: Atom PDF