Global Logo in new spaces causes FileNotFoundException

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 2.8
    • Component/s: None
    • Environment:

      java 6, IE 6, FF 3.0

      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)
      ...
      

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

              Created:
              Updated:
              Resolved: