Hmm... it's a bit agonizing that I'm creating a post named Huu - buggy Thingamablog 1.0.6... + FIX! and- just one month later- I have to fix a bug in my own source code (albeit, not in the code created in the post mentioned above)... ok, but nobody's perfect ;-)
If you have downloaded the Wikilink extension before 10/16/07 you are using the flawy version of the extension, which creates a new database folder every time you use the Wikilink feature (this does not affect the functionality of Thingamablog, but it's consuming a little bit of disc space).
Thanks to Felix Atagong (probably the person who uses Wikilink most often ;-) ), who discovered and described the bug, I was able to reproduce the described behaviour and so I could fix it.
Thank you very much for your help!
How to fix it
To fix the bug you just have to download the program data (I recommend the executable package, but if you wary about downloading an inofficially compiled program version, you can also download the source code package and compile it yourself), extract it and replace your old thingamablog-1.0.6 folder with the new one you just extracted. Your Wikilink extension is then fixed and you can work with it as usual.
The fixed source code
The bug was caused by a wrong instantiation of the blog.TBWeblog class: I always thought the current database has to be stored and then be passed to the TBWeblog cunstructor- I was wrong, the class doesn't need this information.
Consequently you must do the following to fix the bug:
// old and wrong instantiation: creates a new database folder, every time this actionPerformed method is called.
// net.sf.thingamablog.blog.TBWeblog tb = new net.sf.thingamablog.blog.TBWeblog(curDB);
net.sf.thingamablog.blog.TBWeblog tb = new net.sf.thingamablog.blog.TBWeblog(new File(""));
// UPDATE 16.10.2007: USING OLD INSTANTION AGAIN!!! EntryEditor ed = new EntryEditor(be, blog, weblogList, editMode); // new call offers information for current Database // UPDATE 16.10.2007: NEW INSTANTIATION NOT NEEDED ANYMORE!!! // EntryEditor ed = new EntryEditor(be, blog, weblogList, editMode, curDB);
Voilà - you have fixed the bug :-)