Why ac:macro says "unknown macro" since 08.08.2014?

Hi,

we use a custom user macro with the follwing syntax:

## @noparams
<ac:macro ac:name="scroll-pi"><ac:parameter ac:name="type">pagebreak</ac:parameter></ac:macro>

Since 08.08.2014 the macro does not work anymore and it shows the error message: unknown macro. The Source Code looks like this: <ac:macro ac:name="scroll-pagebreak"/>.

If i reenter the User Macro with {page-break} everything is okay, because he use the new Code Structure: <ac:structured-macro ac:name="page-break"/>

But why it was early August still displayed and then suddenly no longer?

We have just updated the AUI Plugin and reinstall the Scroll Versions Plugin.

Is there any Script which converts the old Macro Structure to the new for all Pages at Confluence? To change everything manually, would be a huge large task.

1 answer

Hey Bastian,

It might be possible to do a update query againts confluence database, however I would like to confirm a few things:

  • In the xmlformat show to me how the macro looks previous and now (need to see one example from the start of the macro to the end refering to the same content).
  • Do you have a test instance to try the update query, in case I'm able to come up with it :)?
Thanks and Regards,
David|Confluence Support Engineer

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,540 views 25 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