Tags:
create new tag
, view all tags

SID-02140: After upgrading to Twiki 6, WebTopicCreate is not working.

Status: Asked Asked TWiki version: 6.0.0 Perl version: Perl 5.18
Category: CategoryTemplates Server OS: Ubntu Last update: 1 year ago

I am not sure what changed, but I cannot create new topics, unless I add the wiki word to an old topic and then click on it to edit.

What must be in place, that a new topic can be created using the WebTopicCreate function? Currently when I add a topic, it loops from

twiki/bin/view/GMS/WebCreateNewTopic?topicparent=WebHome

to

twiki/bin/view/OTRS?onlynewtopic=on&nowysiwyg=0&topic=ANewTopic&topicparent=WebHome&templatetopic=

Then I can click on the 'old style' create link and it loops back to

twiki/bin/view/OTRS/ANewTopic?create=on&newtopic=ANewTopic&template=WebCreateNewTopic&topicparent=WebHome

I'm going insane here. Any help is appreciated.

-- Shawn Beasley - 2015-12-29

Discussion and Answer

You are not alone: Tracking errors in TWiki's template hierarchy is a pretty reliable way to go mad. smile

The surprising thing in your description is that you are jumping across webs: twiki/bin/view/GMS/WebCreateNewTopic?topicparent=WebHome looks like a perfect URL to create a new topic in the GMS web. The next URL should start with twiki/bin/edit/GMS? - note "edit" instead of "view", and "GMS" instead of "OTRS". So, this appearance of "OTRS" is the main clue.

Maybe you've carried over a customisation from a previous version?

Here are some things you could check:

  • In raw view, the topic WebCreateNewTopic in the GMS web (in fact, in each web) should have just one line of content in HTML comments, saying * Set VIEW_TEMPLATE = WebCreateNewTopic.
  • By TWiki's template resolution, this should point to TWiki/WebCreateNewTopicTemplate - a topic in TWiki's template language, unless you have a topic GMS/WebCreateNewTopicTemplate. So you could check whether TWiki/WebCreateNewTopicTemplate is "as delivered" in TWiki 6 (last author should be TWikiContributor), or whether there's a topic GMS/WebCreateNewTopicTemplate from an older version. If the latter of the two, you might need to adapt a customization to TWiki 6.

-- Harald Jörg - 2015-12-29

      Change status to:
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.
SupportForm
Status Asked
Title After upgrading to Twiki 6, WebTopicCreate is not working.
SupportCategory CategoryTemplates
TWiki version 6.0.0
Server OS Ubntu
Web server Apache 2.4
Perl version Perl 5.18
Browser & version Safari 9.0.2
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2015-12-29 - HaraldJoerg
 
  • 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.