Details
-
Bug
-
Resolution: Unresolved
-
None
-
None
-
High
Description
Problem
If a segment with a lot of repetitions is saved, the user is able to leave and finish the task even if the repetitions saving is still in progress. Finishing the task will trigger multiple workflow related actions and one of those actions is the trigger callback action. For external systems, which are relaying on this action, the closed task means that the task is finished and they for example will trigger export in translate5. This kind of export can be incomplete(no all segments are saved) because of the pending alikes/repetition saver.
To reproduce
- Create simple file with segment with a lot of repetitions
- import the file and assign user to the task
- edit and save the segment with a lot of repetitions
- while the alike save is pending leave and finish the task
Solution
One way to solve this problem is UI block to leave the task while there are pending changes.