Some Tiddlers don't get a 'created' field

79 views
Skip to first unread message

RichardWilliamSmith

unread,
Sep 9, 2015, 8:40:46 PM9/9/15
to TiddlyWiki
This is a real edge-case but...

When we add a tag to a tiddler, a place-holder tiddler gets created for the tag itself. I wanted to organise these tag tiddlers by tagging them, so I made a little do-dah to do it.
 
<table>
<$list filter="[!is[system]tags[]]">
<tr>
<td><$edit-text field="title"/></td>
<td><$checkbox tag="Language"/></td>
<td><$checkbox tag="Platform"/></td>
<td><$checkbox tag="Technology"/></td>
<td><$edit-text field="tags"/></td><td><$link>{{!!tags}}</$link></td>
</tr>
</$list>

If I click the checkboxes, it adds the respective tag to the tiddler and then it exists as a real tiddler (not just a placeholder) BUT it doesn't get a 'created' field, only a 'modified' field.

This is 'unexpected behaviour' because the tiddler exists but was never created. I only noticed this because I was subsequently trying to list all my tiddlers chronologically by creation date.

Sadly I'm not yet at the stage of understanding the code well enough to propose a fix, but I suppose that when a tiddler is modified we might check that it already has a created field and, if not, add one. Alternatively, perhaps there is a good reason for this behaviour?

As I say.... just an edge case :)

Regards,
Richard 

Jeremy Ruston

unread,
Sep 11, 2015, 8:34:44 AM9/11/15
to TiddlyWiki
Hi Richard

Thanks for the report. I've fixed it for 5.1.10, along with a few other occurrences of the same issue:


Many thanks

Jeremy.



--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/17ef8ab0-0128-4467-8a9d-f17bdbcf3618%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com
Reply all
Reply to author
Forward
0 new messages