server/executionhandlers/rubyext/connection.rb in cpee-2.1.66 vs server/executionhandlers/rubyext/connection.rb in cpee-2.1.67

- old
+ new

@@ -328,10 +328,10 @@ def prepare(lock,dataelements,endpoints,status,local,additional,code,exec_endpoints,exec_parameters) struct = if code manipulate(true,lock,dataelements,endpoints,status,local,additional,code,'Parameter') else - WEEL::ReadStructure.new(data,endpoints,local,additional) + WEEL::ReadStructure.new(dataelements,endpoints,local,additional) end @handler_endpoint = exec_endpoints.is_a?(Array) ? exec_endpoints.map{ |ep| struct.endpoints[ep] }.compact : struct.endpoints[exec_endpoints] if @controller.attributes['twin_engine'] @handler_endpoint_orig = @handler_endpoint @handler_endpoint = @controller.attributes['twin_engine'].to_s + '?original_endpoint=' + Riddl::Protocols::Utils::escape(@handler_endpoint)