Project

General

Profile

Actions

Bug #1926

closed

Foreman fails when click in "import new puppet classes and environments"

Added by francisco j valero about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Importers
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

can't convert ActiveRecord::Errors into Array
If you feel this is an error with Foreman itself, please open a new issue with Foreman ticketing system, You would probably need to attach the Full trace and relevant log entries.

TypeError
can't convert ActiveRecord::Errors into Array
/usr/share/foreman/app/models/environment.rb:126:in `+'
/usr/share/foreman/app/models/environment.rb:126:in `obsolete_and_new'
/usr/share/foreman/app/models/environment.rb:123:in `each'
/usr/share/foreman/app/models/environment.rb:123:in `obsolete_and_new'
/usr/share/foreman/app/models/environment.rb:114:in `each'
/usr/share/foreman/app/models/environment.rb:114:in `obsolete_and_new'
/usr/share/foreman/lib/foreman/controller/environments.rb:19:in `obsolete_and_new'

My class works fine whitout ENC

Actions

Also available in: Atom PDF