lib/qooxview/view.rb in qooxview-1.9.11 vs lib/qooxview/view.rb in qooxview-1.9.13.pre.10
- old
+ new
@@ -34,11 +34,11 @@
@deep_cloning_obj.instance_variables.each do |var|
val = @deep_cloning_obj.instance_variable_get(var)
begin
@deep_cloning = true
val = val.deep_clone
- rescue TypeError
+ rescue TypeError, RuntimeError
next
ensure
@deep_cloning = false
end
@deep_cloning_obj.instance_variable_set(var, val)
@@ -594,11 +594,11 @@
def rpc_autofill(session, args)
dputs(3) { "args is #{args.inspect}" }
ret = []
args.keys.each { |a|
if l = layout_find(a)
- dputs(3) { "found layout for #{a}" }
+ dputs(3) { "found layout #{l} for #{a}" }
ret += reply(:update, a => args[a])
end
}
ret
end
@@ -822,10 +822,10 @@
dputs(3) { "Searching #{m} with #{args.inspect}" }
@@services_hash["View.#{m}"]
end
# Gets the request and converts the ids of the Entites back to
- # the objects they once were - which makes life much more easy...
+ # the objects they once were - which makes life much more easy...
def parse_request(method, session, params)
#dputs_func
dputs(3) { "Parsing #{params.inspect}" }
return params if params.length == 0
layout_recurse.each { |l|