Tags:
create new tag
view all tags

Question

QUESTION? My WebTopicEditTemplate has a standard signature at the bottom, which looks like this :

-- %WIKIUSERNAME% - %DATE%

I can't tell exactly when this problem began to occur, but I just noticed that all new topics created with this signature from WebTopicEditTemplate are signed with 12 Jan 2005 as the result of the %DATE% variable.

  • Inner thought: perhaps this problem first began on Jan 12 2005 ...?

There are some other funny behaviours observed here:

  1. The TWikiVariable %DATE% is accurate when plopped into the middle of an existing page.
    • So the proper function of the %DATE% variable is not corrupt
    • Only when used in the new topic signature
  2. A substitution of %SERVERTIME% for %DATE% in the WebTopicEditTemplate still results in a signature stamped with 12 Jan 2005
    • Therefore, the culprit seems not to be the %DATE% variable a'tall
      • (or %SERVERTIME% for that matter)
    • But instead some function is awry in the parsing of dates for the signature when creating new topics based on WebTopicEditTemplate

QUESTION? Not sure if this is the same as (or similar to) SignatureUsesWrongDate, if so then can someone offer a reasonable solution for TWikiRelease01Feb2003 ?

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, CalendarPlugin, CommentPlugin, EmbedQTPlugin, HeadlinesPlugin, InterwikiPlugin, RedirectPlugin, SessionPlugin, SmiliesPlugin, SpacedWikiWordPlugin, TextSectionPlugin, ToolTipPlugin, TouchGraphPlugin,
Server OS: SuSE Linux 8.0, kernel 2.4.21-226
Web server: Apache/1.3.26 (UnitedLinux)
Perl version: v5.8.0 built for i586-linux-thread-multi
Client OS: MS Windows 2000 professional SP4
Web Browser: IE 6
Categories: Platform

-- KeithHelfrich - 24 Jan 2005

Answer

TWiki looks first in the current web for an edit topic template, if not found it looks for the one in the TWiki web.

Does this happen just in one web? It looks like someone created a WebTopicEditTemplate topic in the web where you see the issue. Make sure that the topic with this name in all webs have %DATE% instead of 12 Jan 2005.

-- PeterThoeny - 25 Jan 2005

embarrassment oops .. you caught me .. there were some WebTopicEditTemplate topics in various webs that were all created with 12 Jan 2005 instead of %DATE%

-- KeithHelfrich - 02 Feb 2005

This happened because I quickly one day (12 Jan 2005) copied the contents from TWiki.WebTopicEditTemplate to {Web}.WebTopicEditTemplate without noticing that the %DATE% TWikiVariables had parsed, already ..

-- KeithHelfrich - 02 Feb 2005

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-02-02 - KeithHelfrich
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.