Project

General

Profile

Bug #13231

error processing throws an error

Added by Thomas McKay over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin (foreman_docker)
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

https://github.com/theforeman/foreman-docker/blob/master/app/controllers/containers/steps_controller.rb#L61

server.errors is an array and does not have a method full_message so when an error happens the UI shows an error page instead of the error itself.

To reproduce, I think, try naming a container incorrectly (eg. w/ a space like "my container").

Associated revisions

Revision 31e5a925 (diff)
Added by Ori Rabin over 6 years ago

Fixes #13231 - error processing uses full_messages

Revision 31e5a925 (diff)
Added by Ori Rabin over 6 years ago

Fixes #13231 - error processing uses full_messages

History

#1 Updated by Ori Rabin over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ori Rabin
  • Pull request https://github.com/theforeman/foreman-docker/pull/140 added

#2 Updated by Ori Rabin over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF