Type application/x-tiddler forced while importing .tid files

97 views
Skip to first unread message

mauloop

unread,
Nov 12, 2020, 5:27:14 AM11/12/20
to TiddlyWiki
Hi, tw people.

I just noticed a strange unexpected and unwanted behaviour. I imported some .tid files, which did not  have the type field set, in my wiki, by dragging the files from the Windows explorer into the TW5 browser view.

After the import has completed the type was set to "application/x-tiddler". 

Is this behaviour by design or is it a little bug? On the other side I wonder what "application/x-tiddler" type is intended for.

Does someone here about have an answer? Not a critical issue, but a chance to learn something more.

Platform: TW 5.1.21 + TiddlyServer 2.1.5 + Node.js 12.13.0 + Windows 10

Thanks in advance,

)+(au

Joshua Fontany

unread,
Nov 12, 2020, 5:20:55 PM11/12/20
to TiddlyWiki
This behavior is also occurring on the current TW-5.1.23-prerelease live on tiddlywiki.com/prerelease.

Could you hop over to the github repo and file an issue?

https://github.com/Jermolene/TiddlyWiki5/issues

Best,
Josh F

Saq Imtiaz

unread,
Nov 13, 2020, 3:52:21 AM11/13/20
to TiddlyWiki
It seems this is an intentional configuration, so may be hard to change now in light of backwards compatibility:

It is intended to extend the import UI post 5.1.23 to allow choosing the deserializer to be used.

mauloop

unread,
Nov 13, 2020, 5:24:06 AM11/13/20
to TiddlyWiki
@Joshua: done ( https://github.com/Jermolene/TiddlyWiki5/issues/5028  )
@Saq: if you're right my opened issue is useless, but I read your replay too late

Saq Imtiaz

unread,
Nov 13, 2020, 5:43:24 AM11/13/20
to TiddlyWiki
@mauloop no worries, it is still helpful to document that this is an impediment to importing .tid files that originate from TW5 and take this into account when refining the importUI in the future.
Reply all
Reply to author
Forward
0 new messages