On Jan 20, 9:49 am, FND <[email protected]> wrote:
> > I can confirm this. I thought we had addressed this issue, but it seems
> > it's not resolved entirely.
>
> There was a small bug in TiddlyWeb's ETag handling.
> Chris has fixed this and released v0.9.7:
>      http://tiddlyweb.peermore.com/dist/CHANGES
>
> -- F.


>From FND Mon, 12 Jan 2009 17:48:44 +0000
>However, we've recently changed the understanding of workspace so you
>don't have to worry about the TiddlyWeb-specific server.bag anymore.
>So instead of that, you should use the following now:
     "server.workspace": "bags/myBag"

Thank you all, Chris, FND, Eduard.. one more question:

Do I add this custom line (server.workspace": "bags/myBag") in
TiddlyWebConfig/config.defaultCustomFields
for every new bag? or do I add new set of config.defaultCustomFields
witht the custom line?

Basically, what do I change in order to save in more than 1 bag, ie
common, bag1, bag2, bag3?


>Does that help?

yes, but, a wee hiccup (FYI)....

For 1 new bag, I'm able to save to existing tiddlers and save new
tiddlers to an imported bag, hooray!

but the first time I tried to save didn't work. Subsequent saves now
work which is wonderful.
(I love the automatic creation of the tiddlyweb.log btw.)

Here's what i did:

I installed 097 and was successful in saving to existing tiddlers in a
new bag (not common) but not saving new tiddlers.

1 made new instance
2 made new bag, w3c
3 imported this test tiddlywiki: 
http://osmosoft.com/~psd/TiddlyWikiDeviceAccess/
4 made new recipe, 'test' = system + w3c
5 Test saving to existing tiddler - started the server and
successfully saved to existing tiddler to the common bag but not a new
tiddler.

6 Test saving to new tiddler: Then I tried changing the
"server.workspace": "bags/common" to "server.workspace": "bags/w3c"

as follows:

go into recipe as tiddlers.wiki
http://127.0.0.1:8080/recipes/test/tiddlers.wiki

go to the backstage, TiddlyWebConfig
change the field to "server.workspace": "bags/w3c"

you should get a saved dialog, something like "TiddlyWebConfig saved
successfully"

I make a new tiddler and get a successful save dialog. looks good
right?

But when i go back into the 'common' bag, all the new saved tiddlers
are there even after changing the server.workspace to bags/w3c as
shown in the log:

Looking at the tiddlyweb.log shows a PUT to the TiddlyWebConfig
(changing the server.workspace to bags/w3c instead of bags/common,
creating revision 2 in TiddlyWebConfig):

2009-01-20 09:20:07,028 INFO     127.0.0.1 - GUEST [20/Jan/
2009:09:20:07 ] "PUT /bags/system/tiddlers/TiddlyWebConfig?no
cache=0.4641619112542664 HTTP/1.1" 204 - "http://127.0.0.1:8080/
recipes/test/tiddlers.wiki" "Mozilla/5.0 (Windows; U; Wi
ndows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Ubiquity/0.1.5"

This entry shows a PUT of the new tiddler to common bag (not w3c) even
though I made a new revision 2 above?!

2009-01-20 09:23:09,466 INFO     127.0.0.1 - GUEST [20/Jan/
2009:09:23:09 ] "PUT /bags/common/tiddlers/test%20saving%20to
%20the%20test%20recipe?nocache=0.7691834834896291 HTTP/1.1" 204 -
"http://127.0.0.1:8080/recipes/test/tiddlers.wiki"; "Mo
zilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/
2008120122 Firefox/3.0.5 Ubiquity/0.1.5"

A bit later, Tiddlyweb is saving fine to the w3c bag:

2009-01-20 11:21:09,502 INFO     127.0.0.1 - GUEST [20/Jan/
2009:11:21:09 ] "PUT /bags/w3c/tiddlers/SavingTest?nocache=0.
1053583499357923 HTTP/1.1" 204 - "http://127.0.0.1:8080/recipes/test/
tiddlers.wiki" "Mozilla/5.0 (Windows; U; Windows NT
 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Ubiquity/
0.1.5"
 2009-01-20 11:24:43,573 INFO     127.0.0.1 - GUEST [20/Jan/
2009:11:24:43 ] "PUT /bags/w3c/tiddlers/AnotherSavingTest?noc
ache=0.4253931028008009 HTTP/1.1" 204 - "http://127.0.0.1:8080/recipes/
test/tiddlers.wiki" "Mozilla/5.0 (Windows; U; Win
dows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Ubiquity/0.1.5"

Journal tiddlers work too:
2009-01-20 11:26:04,825 INFO     127.0.0.1 - GUEST [20/Jan/
2009:11:26:04 ] "PUT /bags/w3c/tiddlers/20%20January%202009?n
ocache=0.4119574336488333 HTTP/1.1" 204 - "http://127.0.0.1:8080/
recipes/test/tiddlers.wiki" "Mozilla/5.0 (Windows; U; W
indows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Ubiquity/0.1.5"

Now i just have to find out how to set the TiddlyWebConfig/
config.defaultCustomFields so I can save in more than one bag

Best,
tony
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to