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
Describe the Bug
The AppliedStringOperation uses the wrong string constant, which prevents historical playback of models with String Splice operations. When attempting to play back string operations in the historical model the client will produce an error:
convergence.esm.js:10420 Uncaught (in promise) Error: Invalid operation!
at StringNode._handleModelOperationEvent (convergence.esm.js:10420)
at Model.handleModelOperationEvent (convergence.esm.js:11236)
at HistoricalModel._playDiscreteOp (convergence.esm.js:14867)
at convergence.esm.js:14844
at Array.forEach (<anonymous>)
at HistoricalModel._playOperations (convergence.esm.js:14835)
at HistoricalModel._checkAndProcess (convergence.esm.js:14828)
at convergence.esm.js:14785
The AppliedStringSpliceOperation constructor needs to be updated to pass the correct string constant to it's constructor.
Versions
Describe the Bug
The AppliedStringOperation uses the wrong string constant, which prevents historical playback of models with String Splice operations. When attempting to play back string operations in the historical model the client will produce an error:
The AppliedStringSpliceOperation constructor needs to be updated to pass the correct string constant to it's constructor.
https://github.com/convergencelabs/convergence-client-javascript/blob/4b8e9abac83049d26f68b76a8eb89d0c42511586/src/main/model/ot/applied/AppliedStringSpliceOperation.ts#L31
The text was updated successfully, but these errors were encountered: