Commit 34284fac authored by Roque's avatar Roque

erp5_wendelin_data_lake: revert script parameter rename as it breaks download

parent db189451
try:
start_offset = int(float(start_offset))
end_offset = int(float(end_offset))
data_stream = context.restrictedTraverse(identity)
data_stream = context.restrictedTraverse(id)
data_stream_chunk = ''.join(data_stream.readChunkList(start_offset, end_offset))
return data_stream_chunk
except Exception as e:
context.logEntry("Exception getting Data Stream (id '%s') content: %s." % (identity, str(e)))
context.logEntry("Exception getting Data Stream (id '%s') content: %s." % (id, str(e)))
raise e
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>identity, start_offset, end_offset</string> </value>
<value> <string>id, start_offset, end_offset</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment