Tags:
create new tag
, view all tags

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.

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

 
Change status to:

Topic attachments
I Attachment Action Size Date Who Comment
HTMLhtml configure.html manage 182.6 K 2008-03-31 - 22:27 VincentNewsum My configure output in case it's needed....
Topic revision: r2 - 2008-04-25 - VincentNewsum
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.