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

Item3707: Fix unit test, broken by Item3699

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   n/a  

Edit Form Data

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

Detail

I am guilty as charged, unit tests fail because of Item3699. (Opening new item to close the old one.)

-- TWiki:Main/PeterThoeny - 02 Mar 2007

So since there are two items, this one, and Item3778, I'll take that to commit a workaround which makes unit tests possible.

It fixes the code, not the unit tests. Basically it avoids the access control violation by only writing WebPreferences.txt if there have been any options (like web background color) for createWeb. Unit tests don't pass these options. It does not solve the problems of web based web creation being unusable for non-admins, which should be discussed in Item3778.

-- TWiki:Main.HaraldJoerg - 01 Apr 2007

Closing this one. Unit tests no longer fail because of the web permissions.

-- TWiki:Main.HaraldJoerg - 04 Apr 2007

ItemTemplate
Summary Fix unit test, broken by Item3699
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4
SVN Range TWiki-4.1.1, Sun, 25 Feb 2007, build 12972
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:13240
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-04-04 - HaraldJoerg
 
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