Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4356

Find next prev segment in workflow calculation was done wrong on server

    • Critical
    • Hide
      translate5 - 7.15.2: The prev / next segment in workflow calculation was producing wrong results.
      translate5 - 7.17.0: Additional UI fixes regarding this problem
      Show
      translate5 - 7.15.2: The prev / next segment in workflow calculation was producing wrong results. translate5 - 7.17.0: Additional UI fixes regarding this problem

      problem

      In bigger tasks the calculation of the next or previous segment is done in the backend when not all affected segments are loaded in the UI.

      This was calculated wrong for translation tasks where segments had a null workflowStep.

      solution

      Handle null values properly.

      We discussed also to convert the workflowStep field in Segment to not nullable, but here the consequences would be less clear.
       
       
       

       

          [TRANSLATE-4356] Find next prev segment in workflow calculation was done wrong on server

          There are no comments yet on this issue.

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Aleksandar Mitrev, Axel Becher, Volodymyr Kyianenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: