Project

General

Profile

Actions

Bug #12781

open

when there is an error creating container, processing it tries to access 'full_messages'

Added by Thomas McKay over 8 years ago.

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

Description

 | NoMethodError (undefined method `full_messages' for #<Array:0x007fe2b18e0940>):
 |   app/controllers/concerns/application_shared.rb:13:in `set_timezone'
 |   app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 |   lib/middleware/catch_json_parse_errors.rb:9:in `call'
 | 
From steps_controller.rb:
        @docker_container_wizard_states_environment = @state.environment
        process_error(
          :error_msg => service.errors.full_messages.join(','),
          :object => @state.environment,
          :render => 'environment')

No data to display

Actions

Also available in: Atom PDF