Metadata is missing from all user macros

We're evaluating Confluence 5.4 for an upgrade and I encountered a problem where all (not some but all of them) of our user macros throws the "no macro metadata" error message in the macro browser.

Has this happened before? Did we miss something in our setup or cloning processes?


4 answers

1 accepted

1 vote
Answer accepted

Yes, the information in the solution:

1. Stop Confluence.

2. Execute this SQL command:

select * from BANDANA where BANDANAKEY='plugin.manager.state.Map';

3. Save the contents of BANDANAVALUE, just in case you need to rollback.

4. Execute this SQL command:

update BANDANA set BANDANAKEY='' where BANDANAKEY='plugin.manager.state.Map';

5. Restart Confluence.

Thanks to Mark Ellevsen for the find and post!

Joe Clark Atlassian Team Apr 04, 2014

Nice work! :-)

2 votes
Joe Clark Atlassian Team Apr 02, 2014

Make sure that your user macros have an appropriate pre-amble that defines how they should display in the macro browser. This usually involves making sure the input parameters for the macro are defined in a comment section.

This Knowledge Base Article has some more information:'No+Macro+Metadata'+Errors

All the macros were working just fine in 5.1. They have all the properly defined parameters.

Thanks for clarifying my question.

Additionally, on the User Macro page (admin console), I see the following error message:

There are user macros without any metadata configured in their template. They have been highlighted below. For these macros to be available for use in content they require parameter information. See the Guide to User Macro Templates.

The funny thing is that none of our user macros are marked with the warning icon.

Furthermore, when I create a new user macro from scratch and follow the User Macro Template guide or create a "hello world" macro, I still get the same error.

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...

434 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