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

Item3655: Registration unit tests fails.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch 4.1.2

Edit Form Data

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


After the last minute panic solution to Item3524 we ended up with a broken unit test for Registration.

I have been looking at this and it took me 8 hours to finally find out why.

The last change reads the meta from the NewUserTemplate and modifies the values that have been given during registration and puts them in the user topic. This requires that the NewUserTemplate not only has the meta that defined the form but also all the fields.

In real life this is indeed the case. You have to manually hack the NewUserTemplate to end up with not having the form fields in this topic.

So it is the unit test case that needs to add the fields to the NewUserTemplate it creates.

I am checking in a fix for this. One less unit test case that fails then.

Peter you need to get a setup made so you can run unit test cases.

-- TWiki:Main/KennethLavrsen - 18 Feb 2007

Done. Closing. We do not need unit test fixes in release note so need to set it to waiting for release

-- TWiki:Main/KennethLavrsen - 18 Feb 2007

Summary Registration unit tests fails.
ReportedBy TWiki:Main.KennethLavrsen
Codebase 4.1.1, ~twiki4
SVN Range TWiki-4.1.1, Fri, 16 Feb 2007, build 12896
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 12913 12914
TargetRelease patch
ReleasedIn 4.1.2
Topic revision: r1 - 2007-02-18 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback