-
Type:
Bug
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: translate5 AI
-
High
-
None
-
FIX bug with missing reference when refreshing segment
-
None
-
Emptyshow more show less
PROBLEM
When refreshing a segment a JS error occurred hinting that a controller-reference was not valid anymore
Rootcause: https://app.therootcause.io/#marc-mittag/translate5/errors/188c8383239a12b1e6ddd10bee7d1cc9cf8b0735
SOLUTION
It will be attempted to solve the problem by using a "traditional" closure instead of relying on ExtJS inbuilt scoping
FRONTEND-TESTS
- add a task with TQE enabled (add a LR resource for it!)
- enable runtimeOptions.plugins.OpenAI.qualityScoreSegmentCheck for the task
- When editing a segment and the TQE changes, a segment refresh was successfully executed