Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-59270

Change error message that appears when attempting to add Team Calendar gadget into JIRA


    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Current behavior
      Currently, Team Calendar gadget cannot be viewed in Jira

      Step to reproduce:
      In Jira, "Add Gadget" --> "Confluence Page Gadget", addressing space a page and save. The result is the following error message:

      Error rendering macro 'calendar' : No enum constant com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType.PAGE_GADGET

      and the following error message on the logs:

      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

      Reason that this is happening
      Team Calendars for Confluence macro is not currently compatible with the JIRA Page Gadget. This is explained here:

      Desired behavior:
      The error message is displaying something that's definitively an admin should not do, a human-readable error, such as
      "Oops, Jira is not compatible with Team Calendars for Confluence gadget and therefore cannot display it"

            Unassigned Unassigned
            mkhairuliana Monique Khairuliana (Inactive)
            0 Vote for this issue
            1 Start watching this issue