contentbylabel macro throws Java errors when used in BLOG or COMMENT objects

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.2.10
    • Affects Version/s: 2.2.5, 2.2.9
    • Component/s: None
    • Environment:

      Atlassian's Confluence 2.2.9 installation

      Summary:
      contentbylabel throws Java errors when embedded into a BLOG or COMMENT object

      Discussion:
      I was trying to include a list of content pages from a different space by using the contentbylabel macro. I discovered the following:

      • the macro works fine when embedded in a PAGE object;
      • the macro will work in page preview mode when a new BLOG object is created but then will give a Java error on subsequent viewings of that BLOG object.
      • the macro will give a Java error when embedded in a COMMENT object.

      Proof of Concept:
      I uncovered this problem on my Confluence 2.2.5 but I was easily able to replicate it in Atlassian's Confluence 2.2.9 test space. See http://confluence.atlassian.com/display/TEST/2006/09/23/contentbylabel+macro+test+in+news

      Sample Macro Call:

      {contentbylabel:permissions|key=CONF20}

              Assignee:
              Unassigned
              Reporter:
              Michelle A. Hoyle
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: