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

Item7780: Don't overwrite _default web on upgrade

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New      

Edit Form Data

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

Detail

Given the name (_default), TWiki administrators can expect to use this web as the template for new webs. It's listed as the first (default) choice in the Adding a New Web form. Therefore, those administrators can be expected to create or change content in _default.

This web should not be overwritten during an upgrade.

Suggested solution: don't ship with _default. Ship with _default_example. When TWiki is run for the first time, if _default doesn't exist, copy _default_example. That is, handle _default the way LocalSite.cfg is handled. If tit exists, it's considered to have been customized.

-- TWiki:Main/VickiBrown - 2017-03-24

I disagree. The _default web serves as the template for new webs. New releases sometimes introduce new topics and change existing topics.

I think that is a documentation case. If you want to have a custom web template create a new template web (such as _acme for Acme Inc) and customize that.

-- TWiki:Main.PeterThoeny - 2017-03-29

ItemTemplate
Summary Don't overwrite _default web on upgrade
ReportedBy TWiki:Main.VickiBrown
Codebase 6.0.2
SVN Range TWiki-6.0.2-trunk, Sun, 12 Feb 2017, build 30309
AppliesTo Engine
Component

Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease

ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2017-03-29 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback