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?
Thanks!
Yes, the information in https://answers.atlassian.com/questions/216979/default-macro-metadata-provider-is-disable-after-upgrade-to-5-2-3was 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!
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: https://confluence.atlassian.com/display/CONFKB/'No+Macro+Metadata'+Errors
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The comment #comment-272732 solved it for me (on 5.8.5):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm wondering if this is related:
https://answers.atlassian.com/questions/216979/default-macro-metadata-provider-is-disable-after-upgrade-to-5-2-3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.