Project

General

Profile

Actions

Bug #4769

closed

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

Added by Dominic Cleal over 10 years ago. Updated about 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 #1

Updated by Dominic Cleal about 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal
Actions #2

Updated by The Foreman Bot about 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2385 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal about 9 years ago

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

Updated by Dominic Cleal about 9 years ago

  • Translation missing: en.field_release set to 35
Actions

Also available in: Atom PDF