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 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.

Change status to:

Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtml configure.html r1 manage 182.6 K 2008-03-31 - 22:27 VincentNewsum My configure output in case it's needed....
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-04-25 - VincentNewsum
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.