Websocket observables are not properly multicasted
Description
Problem/Justification
None
Impact
None
Activity
Show:

Bug Clerk February 1, 2022 at 8:38 PM
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee

Reporter

Labels
Time remaining
0m
Components
Fix versions
Affects versions
Priority
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created September 15, 2021 at 2:30 PM
Updated July 6, 2022 at 8:56 PM
Resolved February 4, 2022 at 3:54 PM
In your component:
const request$ = this.ws.call('system.general.language_choices');
request$.subscribe((config) => console.log('subscription 1', config));
request$.subscribe((config) => console.log('subscription 2', config));
request$.subscribe((config) => console.log('subscription 3', config));
Only subscription 3 will be called.
This is due to how UUID in WebSocketService.call is generated.
Research multicasting in rxjs and fix WebsocketService. Make sure the fix does not produce memory leaks.