Websocket observables are not properly multicasted

Description

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.

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

Assignee

Reporter

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created September 15, 2021 at 2:30 PM
Updated July 6, 2022 at 8:56 PM
Resolved February 4, 2022 at 3:54 PM