Project

General

Profile

Actions

Bug #4769

closed

"wrong element type nil at 4 (expected array)" warning from AuthSourceLDAP

Added by Dominic Cleal about 10 years ago. Updated almost 6 years ago.

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

Description

The following warnings are shown when running the test suite on Ruby 2.0.

/home/dcleal/code/foreman/foreman/app/models/auth_sources/auth_source_ldap.rb:125: warning: wrong element type nil at 4 (expected array)
/home/dcleal/code/foreman/foreman/app/models/auth_sources/auth_source_ldap.rb:125: warning: ignoring wrong elements is deprecated, remove them explicitly
/home/dcleal/code/foreman/foreman/app/models/auth_sources/auth_source_ldap.rb:125: warning: this causes ArgumentError in the next release
Actions

Also available in: Atom PDF