Cannot Display a Confluence page with a Team Calendars for Confluence macro in a JIRA Page Gadget

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

You have set up an application link and gadget subscription between JIRA and Confluence and are attempting to display a Confluence page with a Team Calendars for Confluence macro in the JIRA Page Gadget.

You see this error on the screen:

The following appears in the atlassian-confluence.log:

2012-10-26 12:52:48,875 ERROR [http-10432-1] [xhtml.view.macro.ViewMacroMarshaller] marshal Error rendering macro: calendar
 -- url: /rest/gadget/1.0/pagegadget/getrenderedpage.json | userName: admin
java.lang.IllegalArgumentException: No enum const class com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType.PAGE_GADGET
        at java.lang.Enum.valueOf(Enum.java:196)
        at com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType.valueOf(ConversionContextOutputType.java:7)
        at com.atlassian.confluence.extra.calendar3.CalendarMacro.execute(CalendarMacro.java:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.atlassian.confluence.macro.xhtml.XhtmlMacroManager$ResourceAwareMacroInvocationHandler.invoke(XhtmlMacroManager.java:220)
        at $Proxy1343.execute(Unknown Source)
        at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:88)
        at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:24)
	....

Cause

This is because the Team Calendars for Confluence macro is not currently compatible with the JIRA Page Gadget. It is an Improvement Request that is being tracked here:

TEAMCAL-862 - Getting issue details... STATUS

 

At Atlassian we allow our customers to input into our bug fix and feature request prioritisation. We do this with the voting system - the more votes and detailed comments a ticket has, the more likely it is to be implemented. We use this as a way of gauging the needs of our customer base as a whole. If you would like to see this implemented, please vote on that ticket, and add a comment detailing how it affects your system and what you would like to see. If you also add yourself as a watcher to the ticket, you'll be notified whenever it's updated. 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.