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

Item4179: Moving UserForm from Main to TWiki breaks all existing TWikis unless you know how to upgrade

Item Form Data

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

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Moving UserForm from Main to TWiki breaks all existing TWikis.

SVN 13870 totally broke all existing user topics which have the UserForm with this meta

You cannot move UserForm to TWiki web. It must be in Main web. All existing users in old TWiki has a form with this a link to Main in the meta

So this is an incompatible change that has to be reverted. Release blocker.

-- TWiki:Main/KennethLavrsen - 01 Jun 2007

After I have walked through the code and docs to see what was needed to fix it back I now see the reason behind the change.

I was just hit harder because in a pseudo-install the user form gets deleted.

BUT there is still work to do.

For an upgrader it it not obvious what he has to do. So there is some doc work needed.

We need a small section describing the new feature of Default form and template in TWiki and same in Main overrides the ones in TWiki. And telling the upgrader that he should copy his existing UserForm and TWikiUsersTemplate from his old Main web to the new upgrade installation.

And we need similar description in the upgrade guide.

I can take care of the docus. But CC please confirm that I have understood this correctly because I still have a small doubt.


CC and I have agreed that I do the doc work.


What is needed to have user registration data moved to user topic in an SVN install? (No values are transferred to user form on registration currently?)

-- TWiki:Main.SteffenPoulsen - 03 Jun 2007

In an SVN install I will assume the new code works with the form and template in TWiki web. I have not tried to register new users in a virgin SVN checkout. If this does not work raise a new bug item.

The idea is that if there is a form and template in Main web then this overrides the TWiki web. But this is only during creation. When the user is created then the form meta refers to the TWiki web or Main web. So if you have an existing TWiki you have to copy the user form and template to the Main web. Same in your SVN checkout.

The idea is that a new TWiki installation uses the form and template from the TWiki web. But if you customize the form (I am sure many remove fields they do not use) then the installation/upgrade document will suggest that you copy the from/template from the TWiki web to the Main web and do the customizations there. Reason: Then they are not overwritten next time you upgrade TWiki because the form and template will no longer be distributed in the Main web.

But again. If you see a problem with a fresh new TWiki and registration then it is a new bug

-- TWiki:Main.KennethLavrsen - 07 Jun 2007

There was a bug and it is fixed.

The doc fixes which is release note and upgrade guide is next on my list.

-- TWiki:Main.KennethLavrsen - 08 Aug 2007

Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

Summary Moving UserForm from Main to TWiki breaks all existing TWikis unless you know how to upgrade
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.1.2, Fri, 18 May 2007, build 13796
AppliesTo Engine
Component Documentation
Priority Urgent
CurrentState Closed

Checkins TWikirev:14521 TWikirev:14634
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r12 - 2008-08-10 - GilmarSantosJr
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback