• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4755: Create new topic link from old webs no longer works

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

We have an upgrade issue

When you upgrade to 4.2 the WebLeftBar in existing webs will have a link Create New Topic that no longer works.

This is ones of those incredible pains that makes upgrading Twiki a real problem. We now force the admin to having to edit the WebLeftBar on maybe 20 or 40 webs. If this was the only thing then it could have been OK. But this is adding to the pile of painful issues the upgrader face. Even from 4.1.2 to 4.2.0.

We should provide a backwards compatible solution.

-- TWiki:Main/KennethLavrsen - 01 Oct 2007

Actually it is the WebTopicCreator which you need to upgrade in all old webs.

-- TWiki:Main.KennethLavrsen - 01 Oct 2007

The old WebTopicCreator topics contain a %INCLUDE{"%TWIKIWEB%.%TOPIC%"}%

The new has nothing. It has some meta that you cannot even see with http://develop.twiki.org/~twiki4/cgi-bin/view/TWiki/WebTopicCreator?raw=debug

The only way to upgrade this is at file level. We will have questions from admins on this.

-- TWiki:Main.KennethLavrsen - 01 Oct 2007

Troublesome. I can't find a way to include a topic that sets a template.

-- TWiki:Main.ArthurClemens - 02 Oct 2007

I found a solution to provide an upgrade path:

  • The existing WebTopicCreator topics that are being included get a message "This topic has moved" with a note for admins to update their topics.
  • The actual "Create topic" code is moved to a new page WebCreateNewTopic, WebCreateNewTopicTemplate and PatternSkinWebCreateNewTopicTemplate

-- TWiki:Main.ArthurClemens - 12 Oct 2007

Edit | Attach | Watch | Print version | History: r42 < r41 < r40 < r39 < r38 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r42 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback