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


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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,271 views 2 13
Read article

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