TB 18.104.22.168, macOS Mojave 10.14.6
Something seems to be wrong with the "Duplicate Thought" function.
There is this warning in output.log:
- create a new Brain
- enter some text to the note
- perform "Duplicate Thought"
- click on the duplicate --> crash
2019-10-08 13:47:00.9664 | WARN | TheBrain.Sys.MultiThreadedWorkerPool |  Work of type #44.#R9 threw an exception: startIndex cannot be larger than length of string.
I have seen this warning before. It always appears when I edit an URL in a note.
"Duplicate Thought" does work properly with an empty note.
Something that worries me more:
When I duplicate a certain thought, the duplicate will never be identical. Instead, the duplicate contains an older version of the original thought. This always happens, even after restarting TB.
All of this might be related to those warnings:
- edit a thoughts note
- "Duplicate Thought"
- check the duplicate --> looks fine
- some tenths of second later: the notes content vanishes, it is empty
startIndex cannot be larger than length of string