Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
7
-
Severity 3 - Minor
-
Description
Roadmap Planner macro containing an image in the title of the linked page or emoji in the name of the bar throws a java exception in view mode.
Environment
Confluence cloud
Steps to Reproduce
- Create a page with title having images (for example 📊💡)
- On another page, insert a Roadmap Planner macro and in Link Page option link the page created in the first step.
- Now publish the macro and in the view mode, it shows Error rendering macro 'roadmap' : java.io.IOException: Invalid character.
- Now remove the above linked page and add an emoji in the name of the macro bar. Publishing the page shows java exception error message.
Expected Results
Macro content should be displayed when images, emojis are used in the content of the macro
Actual Results
Macro content is not displayed in the view mode and throws an exception.
Workaround
The workaround is to delete images, emojis added in the macro.
Note: Splunk logs
Error rendering macro: roadmap java.lang.RuntimeException: java.io.IOException: Invalid character com.atlassian.plugins.roadmap.RoadmapMacro.execute(RoadmapMacro.java:104) com.atlassian.confluence.macro.Macro.execute(Macro.java:33) sun.reflect.GeneratedMethodAccessor1674.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498)