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

Label Manager updates in 4.2 break compatibility with plugins compiled against earlier releases.

      There appear to be updates to the label manager interface in 4.2-beta1.

      The changes are not binary compatible with plugins compiled against 4.1 and earlier Confluence versions. Normally we would expect to see a method become deprecated for a few releases before it is removed/has its signature changed.

      Example: Adding a label to a page via the call to labelManager.addLabel now throws:

      [INFO] [talledLocalContainer] java.lang.NoSuchMethodError: com.atlassian.confluence.labels.LabelManager.addLabel(Lcom/atlassian/confluence/core/ContentEntityObject;Lcom/atlassian/confluence/labels/Label;)I
      

      For code compiled against 4.1 and running in 4.2. The same code compiled against 4.2 works fine. Unfortunately compiling all code against 4.2 is not an option due to the new interface EditableLabel not being found prior to 4.2.

            [CONFSERVER-24902] Label Manager updates in 4.2 break compatibility with plugins compiled against earlier releases.

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2893433 ] New: CONFSERVER Bug Workflow v4 [ 2985384 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2779726 ] New: JAC Bug Workflow v3 [ 2893433 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2721926 ] New: JAC Bug Workflow v2 [ 2779726 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2385187 ] New: JAC Bug Workflow [ 2721926 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2280867 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2385187 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221943 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2280867 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2168092 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221943 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1926924 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2168092 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1728434 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1926924 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1685354 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1728434 ]

              slancashire Steve Lancashire (Inactive)
              d72b176e529b Shannon Krebs
              Affected customers:
              5 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: