Commit e101ff9c authored by Ivan Tyagov's avatar Ivan Tyagov

Add warning and forgotten property sheet.

parent 3e76c012
...@@ -47,6 +47,7 @@ class DataStream(BigFile): ...@@ -47,6 +47,7 @@ class DataStream(BigFile):
# Declarative properties # Declarative properties
property_sheets = ( PropertySheet.CategoryCore property_sheets = ( PropertySheet.CategoryCore
, PropertySheet.SortIndex , PropertySheet.SortIndex
, PropertySheet.DataStream
) )
def readChunkList(self, start_offset, end_offset): def readChunkList(self, start_offset, end_offset):
......
...@@ -64,7 +64,8 @@ if transform_script_id is not None:\n ...@@ -64,7 +64,8 @@ if transform_script_id is not None:\n
if transform_script is not None:\n if transform_script is not None:\n
start, end = transform_script(data_stream_chunk_list, start, end)\n start, end = transform_script(data_stream_chunk_list, start, end)\n
\n \n
# store current position offset in Data Stream\n # [warning] store current position offset in Data Stream, this can cause easily \n
# ConflictErrors and it spawns re-index activities on DataStream\n
data_stream.setOffset(end)\n data_stream.setOffset(end)\n
\n \n
# start another read in another activity\n # start another read in another activity\n
......
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