ibnishak / Timimi

Webextension to save Tiddlywiki
https://ibnishak.github.io/Timimi/
GNU Affero General Public License v3.0
204 stars 20 forks source link

Fail to save with URI change #57

Open AnthonyMuscio opened 3 years ago

AnthonyMuscio commented 3 years ago

Hi,

I am working on a solution to checkin and out of Tiddlywikis to allow serial editing. I am working on this using Timimi in Chrome and Firefox. I have stumbled upon a BUG.

If I load a tiddleywiki using an extra parameter on the URI file:///C:/Data/TW5/!LoginProject/QuickSelf.html?test

The Wiki loads but when a Timimi save occurs it reports in the wiki, "saved wiki" and clears the dirty indicator, however I receive two MS windows messages for each save attempt in windows as follows

"Error while saving data by Timimi host please check error.log for details"

This is on my windows 10 (latest version) and prior version.

If I remove the ?test from the uri and reload the wiki saving works again.

I am trying to access the value in $:/info/url/search eg:"?test" but since this breaks Timimi I can't.

I note $:/info/url/full also returns the ?test, But not $:/info/url/pathname, perhaps Timimi is relying on the wrong value and saving to a file name that includes the "?" is failing.

I can use file:///C:/Data/TW5/!LoginProject/QuickSelf.html#?test which opens a tiddler called ?test

I searched my whole computer looking for error.log but have not found it (yet)

Regards Tony

AnthonyMuscio commented 3 years ago

Hi,

I hope we may be able to get a resolution on this as it is stopping me making a cool login system for single file wikis, through my preferred saver Timimi

Is there anything I can do to help? Tony

ibnishak commented 2 years ago

Hi Tony.

Timimi doesn't access the URI. It is only passed to timimi by tiddlywiki. So you will have to suggest changes to the tiddlyfox code in tiddlywiki repo