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

Item3721: Moving a subweb to trash renames and trashes parent web

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension NatSkin Normal Closed TWiki:Main.MichaelDaum n/a  

Edit Form Data

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

Detail

Here's the test case i ran to confirm this problem:
  1. Create a new subweb. I'll call the parent web "Test1" and the subweb "Subweb1".
  2. Go to WebPreferences of the new subweb and click on Rename/move/delete web....
  3. Select "Trash" from the dropdown menu.
    • As an aside here, it seems that there is no way to move a subweb to a top-level web.
  4. Click OK. Notice the parent web is now gone.
  5. Browsing the file directory under Trash web and you'll find "Subweb1" but this will contain the content of the Test1 web and it will include the Subweb1 sub-web.

I tried this process in pattern skin and the problem did not arise. I looked at the renameweb.nat.tmpl and renamewebbase.nat.tmpl templates but I could not figure out what was going on.

I also notice the comments on the left side in the rename web screen do not seem to list the parent web and subweb names correctly. They display 0 .

-- TWiki:Main/LynnwoodBrown - 05 Mar 2007

Fixed in Item3726.

-- TWiki:Main.MichaelDaum - 06 Mar 2007

ItemTemplate
Summary Moving a subweb to trash renames and trashes parent web
ReportedBy TWiki:Main.LynnwoodBrown
Codebase 4.1.1
SVN Range TWiki-4.1.2, Sat, 03 Mar 2007, build 13043
AppliesTo Extension
Component NatSkin
Priority Normal
CurrentState Closed
WaitingFor TWiki:Main.MichaelDaum
Checkins

TargetRelease n/a
ReleasedIn

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