Details
-
Bug
-
Resolution: Not a bug
-
Medium
-
None
-
5.10.0
Description
A test that used to work until Confluence version 5.9.x and below, now stopped working in Confluence 5.10.x because some Confluence internal template is using deprecated code, which is completely unrelated to our add-on, and apparently it fails when running Confluence on dev mode. Unfortunately integrated test are run in development mode
This is the error:
java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162) caused by: java.lang.RuntimeException: Error rendering template for decorator page at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162) caused by: java.lang.IllegalArgumentException: (This exception is only thrown when dev.mode is enabled) Velocity template accessing deprecated method com.atlassian.confluence.pages.Page#getOriginalVersion - /decorators/includes/link-to-this-page.vm[line 7, column 114] at com.atlassian.confluence.velocity.introspection.AnnotationBoxingUberspect.logOrThrowDeprecationWarningsIfNecessary(AnnotationBoxingUberspect.java:187)
Attachments
Issue Links
- is related to
-
CONFSERVER-24070 Velocity Templates failing on deprecated methods in dev mode
- Closed