- changed status to open
Inline MathJax macro with backslace in equation leads HTTP 500
Issue #16
resolved
How to reproduce:
- Type
\LaTeX{}
in Inline MathJax macro - Click Insert button
Then this url will raises an HTTP 500 error: '/plugins/servlet/confluence/placeholder/macro?definition=xxxxxx&locale=en_US&version=2'
java.lang.IllegalArgumentException: Name cannot be null
at com.atlassian.confluence.xhtml.api.MacroDefinition.<init>(MacroDefinition.java:68)
at com.atlassian.confluence.xhtml.api.MacroDefinitionBuilder.build(MacroDefinitionBuilder.java:136)
at com.atlassian.confluence.macro.MacroDefinitionWikiMarkupDeserializer.deserialize(MacroDefinitionWikiMarkupDeserializer.java:34)
at com.atlassian.confluence.macro.MacroDefinitionRequestDeserializer.deserialize(MacroDefinitionRequestDeserializer.java:22)
at sun.reflect.GeneratedMethodAccessor2228.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
May be related to this bug? https://jira.atlassian.com/browse/CONFSERVER-38682
Comments (3)
-
-
-
assigned issue to
-
assigned issue to
-
- changed status to resolved
Fixed in 3.1.1
- Log in to comment
I can confirm the bug. I suspect that since Confluence uses the syntax { ... } to identify macros, this bit of text is somehow getting processed as a macro with no body causing Confluence to throw an error.