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

If panelsWidth is set to '---' at Space level it does not fallback on XWiki.XWikiPreferences

    Details

    • Difficulty:
      Unknown
    • Similar issues:

      Description

      $leftPanelsWidth and $rightPanelsWidth does not fallback on XWikiPreferences, but are always set to 'Medium', see https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/layoutvars.vm#L47

      Example:
      If in XWiki.XWikiPreferences we have:

      • Display the left column: Yes
      • Width of the left panel column: Small
      • Panels displayed on the left: Panels.Applications

      and in Blog.WebPreferences we have:

      • Display the left column: —
      • Width of the left panel column: —
      • Panels displayed on the left: —

      instead of having the Panels.Applications displayed in Small width, we have them displayed in Medium width.

        Attachments

        1. Blog.png
          126 kB
          Ecaterina Moraru (Valica)
        2. preferencesExample.png
          35 kB
          Ecaterina Moraru (Valica)
        3. XWIKI-10787.patch
          1 kB
          Guillaume Delhumeau

          Issue Links

            Activity

              People

              • Assignee:
                gdelhumeau Guillaume Delhumeau
                Reporter:
                evalica Ecaterina Moraru (Valica)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: