BUG: Extra paces in names could lead to overwriting tiddlers!

34 views
Skip to first unread message

Diego Mesa

unread,
Dec 1, 2017, 5:39:56 PM12/1/17
to TiddlyWiki
Attached are two tiddlers that illustrate this bug. 

test.json: This is the original tiddler with content: "original test text"

test2.json: Contains 4 links. The first three are all italicized indicating the target tiddler does not exist. Clicking each of these three links opens up three distinct tiddlers, all showing as missing. 

BUG1: If you edit any of these three tiddlers and save, you overwrite the original test tiddler with no warning

BUG2: A related bug can be seen by manually creating a new tiddler with title "test" (no quotes), noting the collision warning. If you then add a space, the collision warning banner disappears. Note: clicking save on this manually created new tiddler does behave correctly - you get an overwrite warning. This is true if the space is before, after, or both. 

I also posted this on the github: https://github.com/Jermolene/TiddlyWiki5/issues/3033
test.json
test2.json
Reply all
Reply to author
Forward
0 new messages