[tw] Re: Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin
Hi Lyall, I did have a short look at your plugin, prior to my second post. After decrypting you call story.refreshAllTiddlers(); which should be enough. DTP hooks into the core Tiddler.prototype.changed() function to remove the .data object from an open tiddler, if any other plugin changes the tiddler.text. Since decrypting does change the tiddler.text the cached data object is removed. I think, showData needs to check, if the data object is there. If not, it needs to rebuild it. IMO that is the problem at the moment. DataTiddlerPlugin probably is one of the best (insource) documented plugins I've seen. But I'm not 100% sure. So I think Udo (abegio SW) should have a closer look ;) -m On May 10, 2:50 am, Lyall lyall.pea...@gmail.com wrote: Let me know if you think it's a problem with TiddlerEncryptionPlugin. Is there a method I should invoke after programatically changing a tiddler contents? If so, let me know and I can update the TiddlerEncryptionPlugin. I must, however, admit I have not really looked at this for quite some time, and TiddlyWiki seems to have moved forwards significantly since this macro was written. ...Lyall -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
Re: [tw] Re: Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin
Yes, in the case where I close the tiddler and reopen it, the table is displayed correctly again and functions as normal. On Tue, May 8, 2012 at 9:32 PM, PMario pmari...@gmail.com wrote: On May 8, 12:28 pm, Kriss bipah...@gmail.com wrote: However, when I decrypt a tiddler, the showData makro is no longer displayed correctly. The data tiddler plugin (DTP) hijacks some core functions at a very low level, to get it's stuff done. If a tiddler containing some data is programmatically changed by any other plugin, DTP seems to remove cached data from memory. After decryption, it only shows the tableheader, but not the contents of the table. The rest of the contents of the tiddler is displayed correctly. When I look at the contents of the tiddler in edit-mode everything is there, including the data.../data. When I exit edit-mode using cancel, the table-contents remains hidden, but when I exit edit-mode using done or ctrl+enter, the table-contents is displayed correctly again... done or ctrl+enter seems to rebuild the data in memory. So it is available for showData. Cancel doesn't. Is the data stuff displayed, if you close the tiddler and reopen it? -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin
On May 9, 2:43 pm, Kris Meyssen i...@virtualdreams.eu wrote: Yes, in the case where I close the tiddler and reopen it, the table is displayed correctly again and functions as normal. OK. That's what I expected. You should contact abegio software and point them to this thread. There should be enough info, to get things fixed ... Since there have been some updates lately, they still do care. have fun! mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin
Let me know if you think it's a problem with TiddlerEncryptionPlugin. Is there a method I should invoke after programatically changing a tiddler contents? If so, let me know and I can update the TiddlerEncryptionPlugin. I must, however, admit I have not really looked at this for quite some time, and TiddlyWiki seems to have moved forwards significantly since this macro was written. ...Lyall -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/KGSqx3BfsRwJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin
On May 8, 12:28 pm, Kriss bipah...@gmail.com wrote: However, when I decrypt a tiddler, the showData makro is no longer displayed correctly. The data tiddler plugin (DTP) hijacks some core functions at a very low level, to get it's stuff done. If a tiddler containing some data is programmatically changed by any other plugin, DTP seems to remove cached data from memory. After decryption, it only shows the tableheader, but not the contents of the table. The rest of the contents of the tiddler is displayed correctly. When I look at the contents of the tiddler in edit-mode everything is there, including the data.../data. When I exit edit-mode using cancel, the table-contents remains hidden, but when I exit edit-mode using done or ctrl+enter, the table-contents is displayed correctly again... done or ctrl+enter seems to rebuild the data in memory. So it is available for showData. Cancel doesn't. Is the data stuff displayed, if you close the tiddler and reopen it? -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.