Confluence macro migrated to 4.2 showing unknown.?

tousifs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2012

Hi All,

I have already migrated confleunce data. now i am changing plugin making it compatible to 4.2.2.

prior it was not available with macro browser.now its available with macro browser for existing pages all macros are showing unknown.

do i need to do the data migration one more time?

atlassian-plugin.xml entry for xhtml. 4.2.2

<xhtml-macro key="test"
name="test"
class="com.test.confluence.plugin.macros.test">
<category name="development"/>
<parameters/>

atlassian-plugin.xml 3.1.2

<macro name='test' class='com.test.confluence.plugin.macros.test' key='test'>
<!-- TODO: Add macro description -->
<!-- <description></description> -->
</macro>

all macros are showing as unknown is there any way how to update content compatible with xhtml-macro.

also for 4.2.2 can i write macro inside macro?

thanks.

1 answer

1 accepted

1 vote
Answer accepted
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2012

I can aswer the last question: yes, you can use a macro inside a macro:

http://www.confluenza.com/2012/06/11/use-a-macro-within-a-macro/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events