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

Metadata Detail Macro errors on page when adding a label.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 4.2.5
    • None

      When using the metadata details macro, if you add a label to the macro, this is the error that is thrown in the logs:

      2012-06-22 11:57:59,758 ERROR [http-80-5] [xhtml.view.macro.ViewMacroMarshaller] marshal Error rendering macro: details
       -- url: /display/INFR/Upgrade+to+Confluence+4.2 | page: 32374872 | userName: jbrown | referer: http://x.x.x.x:x/pages/editpage.action?pageId=32374872 | action: viewpage
      java.lang.NoSuchMethodError: com.atlassian.confluence.labels.LabelManager.addLabel(Lcom/atlassian/confluence/labels/EditableLabelable;Lcom/atlassian/confluence/labels/Label;)I
      

      Error shown on the page in red:

      Error rendering macro 'details' : com.atlassian.confluence.labels.LabelManager.addLabel(Lcom/atlassian/confluence/labels/EditableLabelable;Lcom/atlassian/confluence/labels/Label;)I
      

            Unassigned Unassigned
            rgoodwin Ryan Goodwin (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: