Project

General

Profile

Actions

Bug #4643

closed

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

Added by Stephen Benjamin about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Authentication
Target version:
Difficulty:
trivial
Triaged:
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'
Actions #1

Updated by Dominic Cleal about 10 years ago

  • Status changed from New to Ready For Testing
  • translation missing: en.field_release set to 4
Actions #2

Updated by Anonymous about 10 years ago

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

Also available in: Atom PDF