Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
Description
If I have a category named "
{Foo}", and try to add a "Projects" portlet to JIRA's dashboard, JIRA breaks with:
2005-11-21 14:40:53,109 ERROR [[Catalina].[localhost].[/].[jsp]] Servlet.service() for servlet jsp threw exception javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: can't parse argument number Foo at java.text.MessageFormat.makeFormat(MessageFormat.java:1330) at java.text.MessageFormat.applyPattern(MessageFormat.java:450) at java.text.MessageFormat.<init>(MessageFormat.java:350) at com.atlassian.jira.web.tags.TextTag.doEndTag(TextTag.java:175) at org.apache.jsp.template.standard.selectmap_jsp._jspx_meth_webwork_text_0(org.apache.jsp.template.standard.selectmap_jsp:1680) at org.apache.jsp.template.standard.selectmap_jsp._jspx_meth_webwork_if_19(org.apache.jsp.template.standard.selectmap_jsp:1657) at org.apache.jsp.template.standard.selectmap_jsp._jspx_meth_webwork_iterator_2(org.apache.jsp.template.standard.selectmap_jsp:1583) at org.apache.jsp.template.standard.selectmap_jsp._jspx_meth_webwork_else_0(org.apache.jsp.template.standard.selectmap_jsp:1541) at org.apache.jsp.template.standard.selectmap_jsp._jspService(org.apache.jsp.template.standard.selectmap_jsp:197) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
evidently JIRA is not escaping the category name.