Can't download attachment

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 1.4.2
    • Component/s: None
    • 1.04

      In the XDoclet JIRA (1.4.2#22) I was trying to download the attachments from one of the issues, XDT-132 http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-132

      When I select either of the attachments' Download links, http://opensource.atlassian.com/projects/xdoclet/secure/attachment/10060/resin-ejb.xdt or http://opensource.atlassian.com/projects/xdoclet/secure/attachment/10062/resin-ejb.xdt
      I just get the message:

      Fatal error in file:/opt/j2ee/atlassian/jira/jira-xdoclet/xdoclet-jira-web/secure/attachment at line 1: Illegal character "<" in encoding name.

      I suspect this is because JIRA identifies the Mime Type as text/xml (at least, that's what's displayed on the attachments page). However, the file in question is actually an XDoclet template file which generates an XML document, and thus begins

      <?xml version="1.0" encoding="<XDtConfig:configParameterValue paramName='Xmlencoding'/>"?>

      However, it's not a valid XML document itself, just a text file. Unfortunately, due to the above error I can't download the updated template, which is preventing me from resolving the issue

            Assignee:
            Scott Farquhar
            Reporter:
            Andrew Stevens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: