computerline1z / okapi

Automatically exported from code.google.com/p/okapi
0 stars 0 forks source link

Pipeline.expandEvent() and IFilter.isDone() #309

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When a step using IFilter.isDone()->false is in the sub-pipeline run by 
expendEvent() tthings don't work because isDone() is not called anywhere in 
expandEvent(), and we just loop through the expanded events.

See 
https://groups.google.com/group/okapi-devel/browse_thread/thread/3c46498d92ca427
1

Original issue reported on code.google.com by yves.sav...@gmail.com on 16 Jan 2013 at 9:37

GoogleCodeExporter commented 9 years ago
<Input files>
RawDocument to FilterEvents
MicrosoftBatchTranslation Step          
RawDocument to filterEvents         
Other steps..

* The MSBatchTrans step was modified to be able to send a newly created TMX 
file down the pipeline using the MultiEvent and to some degree that works.
* The following RawDoc to FilterEvents is what’s not working. We’d like to 
filter the newly passed tmx and go from there but we’re getting a null 
exception)
* We updated RawDocument to process the ParametersEvents. But the problem seems 
to be the handling of the MultiEvent in Pipeline.expandEvent()

Original comment by fli...@enlaso.com on 31 Jan 2013 at 11:19