nested wiki-markup macros not converted to native (xhtml)

I have recently upgraded a 3rd party plugin (Bob Swift's SQL Plugin version 5.2.0) on our confluence 4.3.7 installation. The plugin macros prior to upgrade only worked within the bundled wiki-markup macro, the expectation was that after the upgrade these macro's would be migrated/converted to the native (xhtml) macro format.

Following the plugin upgrade we observed the macro xhtml migration was only partially successful. It appears that the xhtml auto migration works when the macro (in our instance sql-query) is not nested within other macros, and appears to fail (or possibly not considered for migration?) when the macro is nested within other macros.

See attached image for a visual example

As you can see (in the image) the top two sql-query macros that have been converted into xhtml, the third, which is encapsulated by the Cache, Section, Column and Chart macro fails to convert and can be seen as it's still encapsulated my the wiki-markup macro. In my Confluence instance I see other examples where the xhtml migration has failed and the macro is only encapsulated by one other macro (not four like in this example).

Our assumption is that the automated process(es) to migrate macros to xhtml format are failing to consider these macros are valid for migration when they are encapsulated within other macros. I raised this question directly with Bob Swift and he suggested opening a support ticket (we acknowledged that when the macros are not nested they migrate correctly).

NOTE: I can manually add an upgraded macro (xhtml) anywhere within the page (included nested levels) without an issue.

Many thanks for your support,

4 answers

1 accepted

Hi Gavin.

As explained in the support case. I could not reproduce the problem with any of the embeded macros even with more nested macros. I suspect the problem is caused by the SQL plugin. May be Bob Swift can give us some feedback on this.

Uploaded Image:

attached image!

Uploaded Image:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,030 views 51 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you