saros icon indicating copy to clipboard operation
saros copied to clipboard

TextEditActivity.toOperation() can lead to a NoOp

Open tobous opened this issue 5 years ago • 0 comments

TextEditActivity.toOperation() results in the creation of a NoOperation in cases where the activity has neither a valid replaced text nor a valid new text.

It is currently unclear why/in which cases this happens.

Even though such operations aren't causing any issues with the consistency logic, they create unnecessary processing and network overhead and should therefore be avoided. The ideal solution would probably be to filtered out such cases before the TextEditActivity creation.

tobous avatar Mar 18 '20 12:03 tobous