Details
-
Bug
-
Resolution: Unresolved
-
Trivial
-
None
-
14.10.4
-
Unknown
-
Description
Steps to reproduce
Those steps are for testing on the Sandbox Webhome but can be applied elsewhere.
- Override layoutExtraVars.vm (which is already imported in layoutvars.vm) in the skin applied to Sandbox.Webhome
- Add the following code
#set($pageWithoutPanels = $xwiki.getDocument("Sandbox.WebHome")) #if ($pageWithoutPanels.documentReference.equals($doc.documentReference)) #set($showLeftPanels = false) #set($showRightPanels = false) #end
- Save
- Open the Sandbox page. Left and right panels are hidden
- Edit the page in wiki mode
- See that the right panel is displayed above the editor (see attached screenshot)
Expected behaviour
Panel shouldn't be displayed OR displaying it should be forced as it's important in this case