Item13500: Creating a personal sidebar fails unless the System web is also using NatSkin

pencil
Priority: Urgent
Current State: No Action Required
Released In: n/a
Target Release:
Applies To: Extension
Component: NatSkin
Branches:
Reported By: JohnRouillard
Waiting For:
Last Change By: MichaelDaum
If you have a web (called Testweb) that is configured to use the NatSkin but the site (specifically the System web) is not using the NatSkin creating the user's sidebar fails.

If the user clicks on the "Create a personal sidebar" menu link in Testweb, the user is transferred to: .../System/MySideBar where the user is presented with:
---+ Create a personalized sidebar navigation

The sidebar topic already exists. 

 Do you want to delete the old sidebar and then create a new one? 
   [ Yes, delete ] [No, thanks]
where [...] are buttons. Clicking on the "No" button results in the url changing to System/MySideBar# but the page displays the same "sidebar topic exists" screen.

Adding
   * Set SKIN = nat
to the MySideBar page forces it to be viewed in the most basic NatSkin variant.

This changes the System/MySideBar url to:
Create a personalized sidebar navigation

Select a sidebar template:

   o EmptySideBarTemplate (?)
   o no template 
which is what is expected.

I am not sure what the correct fix should be. Ideally the MySideBar page should look identical to Testweb using the same configuration as the Testweb.

Setting the SKIN explicitly in the MySideBar topic at least permits the user to create the sidebar otherwise it is totally broken which is why I marked it as Urgent.

-- JohnRouillard - 04 Jul 2015

Hmm, one other possible side effect of this failure. It may wipe out the Main page. I just noticed that the Main page also disappeared on my test foswiki installation while I was reproducing this failure. The same deletion happened on my production foswiki install. I don't have definitive proof that this bug was the cause, but it is the common element on these webs.

-- JohnRouillard - 04 Jul 2015

By default there is no explicit "MySideBar" topic anymore. The sidebar is now personalized using the ListyPlugin with items stored in the user's profile page as meta data.

-- MichaelDaum - 04 Dec 2017
 

ItemTemplate edit

Summary Creating a personal sidebar fails unless the System web is also using NatSkin
ReportedBy JohnRouillard
Codebase 1.1.9
SVN Range
AppliesTo Extension
Component NatSkin
Priority Urgent
CurrentState No Action Required
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 04 Dec 2017, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy