lib/treequel/branch.rb in treequel-1.3.2 vs lib/treequel/branch.rb in treequel-1.4.0
- old
+ new
@@ -438,10 +438,10 @@
newdn = newdn + ',' + self.parent_dn unless newdn.index(',')
self.log.debug "Creating a copy of %p at %p" % [ self.dn, newdn ]
newbranch = self.class.new( self.directory, newdn )
- attributes = self.entry.merge( attributes )
+ attributes = self.entry.merge( stringify_keys(attributes) )
self.log.debug " merged attributes: %p" % [ attributes ]
self.directory.create( newbranch, attributes )
return newbranch