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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 6.0-milestone-1
    • Fix Version/s: None
    • Component/s: Flamingo Skin
    • Labels:
    • Difficulty:
      Unknown
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

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