Tags:
create new tag
view all tags

Bug: Template topic fails across webs

The templatetopic cgi parameter does not support Web.TopicName addressing. This was tried as per SelectableNewTopicTemplates suggestion to place template in a protected web. A workaround (working) is to replace Web.TopicName with ../Web/TopicName.

Test case

Try this:

http://twiki.org/cgi-bin/edit/Sandbox/?topic=TemplateTopicFailsAcrossWebs&TopicClassification=BugReport&onlywikiname=on&templatetopic=Codev.NewBugTemplate

Workaround:

http://twiki.org/cgi-bin/edit/Sandbox/?topic=TemplateTopicFailsAcrossWebs&TopicClassification=BugReport&onlywikiname=on&templatetopic=../Codev/NewBugTemplate

(not a great example unless you consider that the failure to find the form is a good indication it is using the template smile

Environment

TWiki version: 01Dec2001
TWiki plugins: None
Server OS: Linux
Web server: Apache
Perl version: 5.6.0
Client OS: Various
Web Browser: Various

-- DarrylGreen - 19 Jul 2002

Follow up

I just re-checked it is definitely broken on twiki.org. Note that failure = no oops and success = oopsnoformdef because if the template topic (Codev.NewBugTemplate) is found it refers to the WebForm template in the web specified in the URL (ie Sandbox). There is no such form and this is what causes the oops. If the template isn't found there is no oops for template topic not found (is this a bug or a feature?) and the default edit template is used (successfully, but this is incorrect behaviour afaics). There is a related issue I saw (can't find it right now) about failures trying to use cross-web addressing for fom definitions. By the way, the oopsnoformdef bit me another way - see AccidentalMetaDeclInTopicTextIsNasty.

Oops, yes, you're right -- deleted my comment to keep things more clear. rhk

-- DarrylGreen - 21 Jul 2002

I've been using the workaround that DarrylGreen mentioned above for a few weeks now with little trouble.

-- DavidSachitano - 22 Jul 2002

Fix record

Should be fixed. Please check and report any problems here.

In TWikiAlphaRelease and TWiki.org.

-- PeterThoeny - 30 Jul 2002

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2002-07-30 - PeterThoeny
 
  • 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.