-
Type:
Bug
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: translate5 AI
-
Critical
-
None
-
-
None
-
Emptyshow more show less
Problem
UI error pop-up when multiple prompts are selected to be loaded in RAG window. In the specific case and reproduced locally the number of prompts was 20 and each has 10 examples. The UI error only will be triggered if you try to scroll the prompt window while the selected prompts are still loading.
the short crash chain is:
- multiple RAG prompts are added
- each prompt creates its own local view-model stores
- scrolling causes more attach/rebind while that load is still in progress
- the controller was wired to global store events
- one widget handled another widget’s store event
- its own local store was null at that moment
- crash
Solution
Prevent UI to crash with multiple prompts loaded.