-
Bug
-
Resolution: Fixed
-
High
-
4.2
-
None
-
4.2-beta1
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.
- causes
-
CONFSERVER-24432 Define a clear Java API for Confluence plugin developers that won't break when new versions of Confluence are released
- Closed
- relates to
-
CONFSERVER-24974 confluence 4.2 breaks PageTemplate:getLabels:String
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...