Project

General

Profile

« Previous | Next » 

Revision adf367f7

Added by Marc Dequènes over 14 years ago

  • ID adf367f7abf4e5ed0cd4a333bc0a95dc82b60781

[fix] don't crash when checking parent for an item being modified but not relocated

View differences:

lib/ldap_shadows/elements/object.rb
end
parent_full_handle = @latest_parent_full_handle if parent_full_handle.nil?
# return if this item is not new and was not relocated
return if parent_full_handle.nil?
parent_item_dn = self.base.to_s if parent_item_dn.nil?
p_hdl_restr = self.class.parameters[:mapping][:parent_handle_restrictions]

Also available in: Unified diff