You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
What package is this bug report for?
rrweb
Version
v2.0.0-alpha.7
Expected Behavior
Within the createPlayerService function, there's a call to applyEventsSynchronously(syncEvents) in machine.ts during replay.
When seeking consecutively twice on the same inactive region, syncEvents should be empty.
If syncEvents contain any incremental snapshots, the system will attempt to apply the mutation again and attempt to remove node once more.
At that point, if there are sync events, that particular node would not be found, leading to potential issues.
Actual Behavior
It is showing syncEvents if we are seeking twice in a same region and throwing up error Node id not found when we are trying to apply mutation on it.
Steps to Reproduce
To record:
Create a session with a tab containing two sections. Each section should be toggleable by clicking on the tabs. Ensure the parent class remains same while the content should be different between the tabs. You can have any other element or something too but it would be easy in tabs
Start recording and engage in activity on tab1 for 5-6 seconds. Then, switch to tab2 and here don't perform any actions/activity for 1min appx.
Allow for a 1-minute period of inactivity to occur.
The issue would be recorded
When replaying:
Disable the skip inactivity feature.
Upon watching the session, you should observe it playing correctly.
However, when u will seek more than 2 times in the big inactive region(the 1 min inactivity which we had done in the session) and then again play the session by seeking it to start or before the tab switch.
You may encounter a warning stating "Node with id x not found."
and also you'll notice duplicate elements for the parent, resulting in the table being displayed twice when u will play the replay again.
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
sandeshmurdia
changed the title
[Bug]: Duplicate Element Displayed and Warning Message 'Node with ID X Not Found' During Playback After Seeking Multiple Times
[Bug]: Duplicate Element Displayed and Warning Message 'Node with ID X Not Found' During Playback After Seeking Multiple Times.
Apr 16, 2024
Preflight Checklist
What package is this bug report for?
rrweb
Version
v2.0.0-alpha.7
Expected Behavior
Actual Behavior
It is showing syncEvents if we are seeking twice in a same region and throwing up error Node id not found when we are trying to apply mutation on it.
Steps to Reproduce
To record:
The issue would be recorded
When replaying:
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: