Hello Danielo,

all seems to work correctly. My attachments no longer disappeared upon 
tiddlers edition. Thanks.

So, I came upon a new bug. Once a tiddler has an attachment in couchdb, it 
is impossible to rename it since you went into sync problem, no matter the 
attachment was used or not.

1. Create a tiddler with some text.
2. In futon upload an attachment to the newly created tiddler.
3. Come back to tiddlywiki, edit the tiddler and modify the title to rename 
it. Save.
4. You get a  sync error and the tiddler and its attachment disappeared 
from couchdb, but you still see it in Tiddlywiki.
5. Reload Tiddlywiki, the tiddler with sync problem no longer exist.

Indeed, thanks very well.

I also manage to create a custom template embedding all the plugins I need 
in couchdb and all seems to work very well.

Le dimanche 24 mai 2015 16:27:55 UTC+2, Danielo Rodríguez a écrit :
>
> Hello Jean,
>
> I have opened this ticket on GitHub to discuss the problem with several 
> instances running at the same time. This particular tickets is about 
> deletions sync.
>
> https://github.com/wshallum/couchadaptor/issues/15
>
> If anyone has an idea about how to handle this, I'm very pleased to hear 
> about it. Here is the ticket text:
>
>> When you have two wikis that syncs to the same couchdb newly created 
>> tiddlers are correctly synced between two, but deletions does not.
>>
>> I don't know how to understand this as a feature or as a problem. There 
>> is only one scenario where I'm totally sure this is a problem: in Draft 
>> management. Drafts are temporal by definition and once you have finished 
>> edditing you don't want that draft anymore, and of course you don't want a 
>> draft to be kept on several instances of TW.
>>
>> To reproduce the Draft problem:
>>
>>    - Open a tiddlywiki that syncs to a couchdb in two different 
>>    computers or two different tabs.
>>    - Edit a tiddler or create a new tiddler and leave it in draft mode 
>>    long enough to be synced
>>    - Wait in the other instance of the wiki to the next "skinny 
>>    tiddlers" fetch
>>    - Draft appears on recent tab, absolutely empty unless you open it.
>>    - Finish editing on the first wiki. Draft is deleted from DB
>>    - Open the draft on the second instance. You have an empty draft, 
>>    this can cause confusion because you also have the normal tiddler.
>>    - Try to finish editing on the second instance with the empty draft 
>>    and you will get an error because that document does not exist on the 
>>    database anymore
>>
>> I'm not sure how to address this problem. Avoid draft synchronization 
>> should not be an option, because I strongly thing that drafts should be 
>> synced.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/547f8d6d-ed31-48ae-9ecf-78b033002297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to