Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12419

Global Logo in new spaces causes FileNotFoundException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 2.8
    • None
    • java 6, IE 6, FF 3.0

    Description

      When you set the Global Logo for Confluence and then start creating new spaces, the image for each space is broken. For example...

      When you set the main global logo, it puts the file in ../../confluence-data/resources/mylogo.gif. But when you create a space, say, FOO it sets that space to also have the custom logo (which is fine). But when you pull up the home page for the new space, the image is broken in IE (and doesn't show in FF) and in the logs, I see FileNotFoundExceptions since its looking for *../../confluence-data/resources/FOO/mylogo.gif. *

      2008-07-13 01:08:25,586 ERROR [http-8383-Processor2] [[Standalone].[localhost].[/].[file-server]] invoke Servlet.service() for servlet file-server thr
      ew exception
      java.io.FileNotFoundException: /usr/local/home/myuser/atlassian/confluence-data/resources/FOO/logo.gif (No such file or directory)
              at java.io.FileInputStream.open(Native Method)
              at java.io.FileInputStream.<init>(FileInputStream.java:106)
              at com.atlassian.confluence.servlet.download.ResourceDownload.getStreamForDownload(ResourceDownload.java:51)
              at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload$StreamResultCallback.doInTransaction(ServeAfterTransactionDownload.
      java:128)
              at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
              at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.getStreamInTransaction(ServeAfterTransactionDownload.java:40)
              at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:46)
              at com.atlassian.plugin.servlet.BaseFileServerServlet.doGet(BaseFileServerServlet.java:77)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f4b07e40514a Dave Hergert
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: