Hello Thomas, that is quite right and the code needs to check if the 
tiddler is existed or not!
By the way, for processing in batch mode, when there is no risk of deletion 
this may be useful.

I will revise the code and send a new version.

--Mohammad

On Friday, February 22, 2019 at 1:46:35 PM UTC+3:30, Thomas Elmiger wrote:
>
> Hi Mohammad
>
> I see a risk here in the count part:
>
> Say you have made tid-1, tid-2 and tid-3. Then you delete tid-2. The next 
> generated number will be 3 and collide with existing tid-3.
>
> Just a thought. 
>
> Cheers, 
> Thomas 
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2d35d70e-4cde-40d2-b6f5-373683c9649f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to