Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20697

Right panel displayed above wiki editor when supposed to be hidden through skin override

    XMLWordPrintable

Details

    • 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

       

      Attachments

        Activity

          People

            Komal1503 Komal
            mpace Mathieu Pace
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: