Project

General

Profile

Bug #4643

Retrieving Optional LDAP attributes fails with "interning empty string" on 1.8.7

Added by Stephen Benjamin over 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Authentication
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Need to check if value is blank before checking entry[value].empty?

[3] pry(#<AuthSourceLdap>)> entry[value].empty?
ArgumentError: interning empty string
from /home/dcleal/.rvm/gems/ruby-1.8.7-p374@foreman/gems/net-ldap-0.3.1/lib/net/ldap/entry.rb:88:in `to_sym'

Associated revisions

Revision b7f90cc0 (diff)
Added by Stephen Benjamin over 5 years ago

fixes #4643 - Retrieving Optional LDAP attributes fails on 1.8.7

History

#1 Updated by Dominic Cleal over 5 years ago

  • Status changed from New to Ready For Testing
  • Legacy Backlogs Release (now unused) set to 4

#2 Updated by Anonymous over 5 years ago

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

Also available in: Atom PDF