Project

General

Profile

« Previous | Next » 

Revision c17578f6

Added by Marc Dequènes over 15 years ago

  • ID c17578f66f58f0489cf90427fcb21682f3714f5f

[fix] corrected workaround for activeldap#26720 which was broken for creation

View differences:

lib/ldap_shadows/object.rb
value = @data[real_name] || []
next unless self.class.blank_value?(value)
# Duck: hack
next unless @initial_attribute_list.include?(real_name)
# Duck: workaround for #26720 (not sure it works in all cases)
next unless @initial_attribute_list.nil? or @initial_attribute_list.include?(real_name)
_schema ||= schema
aliases = required_attribute.aliases.collect do |name|

Also available in: Unified diff