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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,099 views 17 14
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