-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
1.4.2
-
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
- duplicates
-
JRASERVER-871 Improve Mime type handling of Attachments
- Closed