[TW5] Very strange behavior bug report

132 views
Skip to first unread message

CL

unread,
Jan 20, 2017, 5:22:36 AM1/20/17
to TiddlyWiki
I don't really know how to describe this bug

I think it's best to attach test case file and show you what happens
test case.html

Tobias Beer

unread,
Jan 20, 2017, 7:25:55 AM1/20/17
to TiddlyWiki
Hi CL,
 
I think it's best to attach test case file and show you what happens

Actually, it's best you describe what you are actually trying to achieve,
so we can tell you if your method is appropriate or not
or whether it does or does not do what you expect.

Best wishes,

Tobias.
Message has been deleted

CL

unread,
Jan 20, 2017, 8:57:32 AM1/20/17
to TiddlyWiki
Hi Tobias


Actually, it's best you describe what you are actually trying to achieve,

I am just reporting bug. I have attached the file to demonstrate the bug.

This is new test file with better explaination of the bug.
new test.html

Álvaro

unread,
Jan 20, 2017, 10:31:03 AM1/20/17
to tiddl...@googlegroups.com
Hi CL,

It works fine. I don't see any bug. In both cases, you have two part in text: variable part and invariable part. You cut the variable part and you change its content and its position, but there isn't any change in content of invariable part.

firstTest ->Test:first
second(space)Test ->Test:second(space)

Is it the "bug"?

CL

unread,
Jan 20, 2017, 10:58:42 AM1/20/17
to tiddl...@googlegroups.com
Hi Alvaro

'Test:first' works fine as I described in the instruction.
'Test:second(space)' is the buggy part.

Have you tried to change the title of 'Test:second(space)'?

Álvaro

unread,
Jan 20, 2017, 1:00:48 PM1/20/17
to TiddlyWiki
Upss sorry.

I see it. I don't know if it is a bug or not. But if you create two new tiddler ("New Tiddler" and "New Tiddler 1") and you try to modify the title of "New Tiddler 1" to "New Tiddler ", when you save it, TW shows popup Do you wish to overwrite the tiddler "New Tiddler"?

When you save a tiddler in the editor, it removes the spaces at the end of the tittle.

The conflict appears because "$action-setfield" allows add a field with space at the end of its value. When you edit and save the tiddler, TW create new tiddler because TW doesn't match any tiddler with that title.

Sorry for my english.

PMario

unread,
Jan 21, 2017, 8:14:10 AM1/21/17
to TiddlyWiki
Hi CL,

I think this issue https://github.com/Jermolene/TiddlyWiki5/issues/751 causes your problem. ...

Since it's a "won't change" in the core, you'll have to solve it as part of your application.

-mario

CL

unread,
Jan 22, 2017, 5:44:03 AM1/22/17
to TiddlyWiki
Hi Alvaro and PMario,


I think this issue https://github.com/Jermolene/TiddlyWiki5/issues/751 causes your problem. ...
 
Since it's a "won't change" in the core, you'll have to solve it as part of your application.

When I posted first message, I actually had no idea what was causing the problem,
Now I have figured that It's problem with the blank space at the end  of the title, I can fix the problem now.

Thank you for your support!

Best wiches,
CL

PMario

unread,
Jan 22, 2017, 7:54:53 AM1/22/17
to TiddlyWiki
cool!
-m
Reply all
Reply to author
Forward
0 new messages