-
Bug
-
Resolution: Unresolved
-
Major
-
9.6.2
-
None
-
Security Level: Jimmy
-
None
-
None
Steps to Reproduce
1. click "add" button, wait the camera to start showing the video around 3 seconds
2. Click "remove" button
3. click "add" button
Current Result
The barscanner widget keeps producing the error:
zkmax.barscanner.wpd:13600 Uncaught TypeError: Cannot read properties of undefined (reading 'getContext')
at Object.callback (zkmax.barscanner.wpd:13600:40)
at n (zkmax.barscanner.wpd:1991:19)
at zkmax.barscanner.wpd:2018:13
at Array.forEach (<anonymous>)
at Object.publish (zkmax.barscanner.wpd:2017:29)
at v (zkmax.barscanner.wpd:1633:59)
at n.worker.onmessage (zkmax.barscanner.wpd:1680:102)
Expected Result
no error
Workaround
Similar to the workaround in ZK-4338
zk-5230.js