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

getSkinFile("noavatar.png") broken in Flamingo Skin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Blocker
    • None
    • 6.0-milestone-1
    • Flamingo Skin
    • Unknown
    • N/A

    Description

      Extensions have been using getSkinFile("noavatar.png") and when switching to Flamingo this is broken since apparently the Flamingo skin doesn't provide this resource anymore.

      This is a regression breaking extensions.

      To name just 2 where I've seen the issue:

      We need to decide what to do:

      • A) i) Put novatar.png in the Flamingo skin and more generally define the resources that each skin must provide (or better, ii) put it the templates so that if not found in the skin, it can be found in the templates)
      • B) Decide that it's a wanted regression and document it properly in the Release Notes
      • C) Fall back on /icons/xwiki when getSkinFile() is called and the resource is found neither in the Skin nor in the Templates.

      WDYT?

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: