Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-28715

Look and Feel does not support Image provided by download/resources servlet

    XMLWordPrintable

Details

    • 4.04
    • Severity 3 - Minor
    • Hide
      Atlassian Update – 06 December 2017

      Hi everyone,

      We have recently reviewed this issue and the overall interest in the problem. As the issue hasn't collect votes, watchers, comments, or support cases from many customers during its lifetime, it's very low on our priority list, and will not be fixed in the foreseeable future. That's why we've decided to resolve it as Time Out.

      Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Jira team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details.

      We understand how disappointing this decision may be, but we hope you'll appreciate our transparent approach and communication.
      Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments.
      Thank you,
      Ignat Alexeyenko
      Jira Bugmaster

      Show
      Atlassian Update – 06 December 2017 Hi everyone, We have recently reviewed this issue and the overall interest in the problem. As the issue hasn't collect votes, watchers, comments, or support cases from many customers during its lifetime, it's very low on our priority list, and will not be fixed in the foreseeable future. That's why we've decided to resolve it as Time Out . Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Jira team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details. We understand how disappointing this decision may be, but we hope you'll appreciate our transparent approach and communication. Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments. Thank you, Ignat Alexeyenko Jira Bugmaster

    Description

      When trying to configure the look And Feel with a image embbedded in JAR, using the download/resources servlet, we have the following error displayed :

      Failed to upload image from URL https://mydomain/jira/download/resources/my.plugin.id:moduleId/logo.png.
      
      The MIME type image/png;charset=UTF-8 is unsupported. PNG, JPG and GIF images are the only supported formats.

      I make different tries for forcing the charset, but not effect ... Last try is like that :

      <atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
      ...
          <web-resource key="alstom-lnf">
              <context>atl.general</context>
              <context>atl.admin</context>
      		<resource type="download" name="logo.png" location="com/company/images/logo.png" >
      			<property key="Content-Type" value="image/x-png; charset=binary"/>
      		</resource>
          </web-resource>
      
      </atlassian-plugin>
      

      Note that https://mydomain/jira/download/resources/my.plugin.id:moduleId/logo.png return correctly the image, with following HHTP Header :

      Content-Type	image/png;charset=UTF-8
      Date	Tue, 26 Jun 2012 11:31:01 GMT
      Etag	"1339772032000"
      Last-Modified	Fri, 15 Jun 2012 14:53:52 GMT
      Server	Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8h mod_jk/1.2.32
      X-AREQUESTID	811x13281x1
      ...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5d77aaa81033 Vincent Thoulé
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: