Hello Guys,
I have a confluence macro that is working fine in Confluence version 7.x
Now I am going to upgrade my macro to support confluence 8.x (8.5.0), I am facing a few issues while upgrading it.
I couldn't access the preview page before publishing on Confluence when I clicked the preview button. I was facing this error.
I'm not sure what I'm missing, so if anyone can help, that would be great.
Please let me know if you require any additional details from my end.
Any support you can give would be greatly appreciated.
Hi @Arikrishnan
I guess you are facing this issue.
You should have more details in the log file
Regards
I have removed this method now working on confluence 8 macro.
try {
xhtmlUtils.handleMacroDefinitions(body, conversionContext, new MacroDefinitionHandler() {
public void handle(MacroDefinition macroDefinition) {
macros.add(macroDefinition);
}
});
} catch (XhtmlException e) {
com.prolaborate.configureui.ConfigResource.log.error("API Request URL XhtmlException: "+e.getMessage()+"\n");
throw new MacroExecutionException(e);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.