Question
Hi,
I discovered a problem when using BlogUp/BlogPlugin replies.
The comments are rendered with negative dates.
I tried hard to find the cause and I believe it is because the 'BaseRef' field is set to a wrong topic name.
This BaseRef topicName is set in ....BlogWeb/RenderAddComment using:
'%DBQUERY{web="Support" topic="DBCachePluginWebDBexpandPath" format="$expand(BaseRef or name)"}%'
This in turn calls
DBCachePlugin::WebDB::expandPath($theRoot, $thePath):
With $theRoot set to a DBCacheContrib::Map reference and $thePath set to 'BaseRef or name'.
When getting the name parameter, it first checks if the topic contains a form and then gets the name parameter of the form instead of returning the name parameter of the topic itself.
This results in problems, because I think RenderAddComments wants to have the name of the topic and not the name of the form that is used to create the topic.
I wonder what I have done wrong, because I don't see this behaviour in other TWiki/Blogs.
Could this be a version compatibility issue?
What can I do to resolve this issue?
Thanks for any help.
Regards,
Vincent.
Environment
--
VincentNewsum - 31 Mar 2008
Answer
Closing this question unanswered, thanks.
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.