Project

General

Profile

Actions

Bug #26758

closed

Unify render_error in unattended and template rendering

Added by Lukas Zapletal over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Getting wrong number of arguments:

app/controllers/unattended_controller.rb:83:in `render_error'
app/controllers/concerns/foreman/controller/template_rendering.rb:19:in `rescue in safe_render'
app/controllers/concerns/foreman/controller/template_rendering.rb:15:in `safe_render'
app/controllers/concerns/foreman/controller/template_rendering.rb:9:in `render_template'
app/controllers/unattended_controller.rb:130:in `render_provisioning_template'
app/controllers/unattended_controller.rb:68:in `host_template'
app/controllers/concerns/foreman/controller/timezone.rb:10: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/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
Actions

Also available in: Atom PDF