Details
-
Bug
-
Resolution: Fixed
-
Low
-
8.20.10, 9.4.6
-
8.2
-
7
-
Severity 3 - Minor
-
1
-
Description
Issue Summary
When a Custom Field rendering fails during the XML export, Jira's error message is not correct in the XML format. This occurs with one of the third-party plugins, but, the rendering is done by the Jira application.
This is reproducible on Data Center: Yes
Steps to Reproduce
- Install the Jira 8.20.10 version and set it up
- Create a project and a couple of issues
- Install the plugin attached to this case
- Create a custom field "Admin Editable Text Field" and associate it with issues created. Update the values.
- Under the issue search switch to List View and select this custom field
- Try to export with XML view
Expected Results
It is expected to show an XML view without any error with the <p> </p> tag
Actual Results
XML Parsing Error: mismatched tag. Expected: </p>.
Location: http://localhost:42010/j82010/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=&tempMax=1000
Line Number 507, Column 155:
<div class="aui-message aui-message-error"><p>Error rendering 'admintextfield'. Please contact your Jira administrators.<p/></div>
Workaround
- Apply the following change on each node of you Data Center cluster.
- Edit the below file.
<jira-install-dir>/atlassian-jira/WEB-INF/classes/com/atlassian/jira/web/action/JiraWebActionSupport.properties
- Search for modulewebcomponent.exception as below.
modulewebcomponent.exception = <div class="aui-message aui-message-error"><p>Error rendering ''{0}''. Please contact your Jira administrators.<p/></div>
- Replace the <p/> with </p> and save the file.
- Edit the below file.
- Restart Jira as detailed in How to clear Jira's plugin cache.
Attachments
Issue Links
- is resolved by
-
DELTA-1545 Loading...