Hi, While trying to debug a process, I noticed that the OpenWFE module provides a 'fulldup' method for creating a deep copy of an object. I think there's a problem with the implementation. From line 79 of lib/ openwfe/utils.rb:
o = object.class.new This won't work for classes that don't have a 0-argument constructor (or a constructor in which all arguments have a default value). It seems like we should just be cloning the object instead: o = object.clone But I'm wondering if this could cause problems in other places. Anybody have any further insights here? Thanks, Enrico --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
