I have a strange thing happening whereby I edit a page to add a macro and after the page is saved, it tries to render a completely different macro. It doesn’t render it correctly, but some of its HTML from its template shows on the page which is the only clue that Confluence is getting confused somehow. These macros are both custom macros developed by our team.
The storage format of the page correctly shows the correct macro ac:name from the altassian-plugin.xml file, e.g.:
<xhtml-macro name=“roadmap-macro” …
… and the two different macros have different ac:names and ac:macro-ids. Nevertheless, I have to disable or uninstall the one it gets confused with in order to make the page render the correct macro.
I’ve tried clearing the plugin cache per the following instructions to no avail: https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html
I’m at my wit’s end trying to figure this out and there is nothing in the logs.
Any suggestions would be greatly appreciated.