[All Adaptavist Apps]

Page tree

If I have two pagetree2 references on the same page, the page will not load.  Instead, I get an endless "Loading..." message.
Others have reported the issue, and a workaround is to disable Javascript.  That isn't an acceptable workaround in my case.  For now, I have to make due with making sure only one pagetree2 macro is present at any given time; this is difficult, as one resides in my theme, it basically outlaws the use on any space with that theme applied.

Is there any fix available, or has a bug report been filed?

  • No labels

8 Comments

  1. Unknown User (amoran)

    Thats very odd!

    Unable to render content due to system error: java.lang.ClassCastException: class com.adaptavist.confluence.theme.engine.macros.deprecated.Pagetree2Macro cannot be cast to class com.atlassian.renderer.v2.macro.Macro (com.adaptavist.confluence.theme.engine.macros.deprecated.Pagetree2Macro is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @6628b9fb; com.atlassian.renderer.v2.macro.Macro is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @2e8ab815) Unable to render content due to system error: java.lang.ClassCastException: class com.adaptavist.confluence.theme.engine.macros.deprecated.Pagetree2Macro cannot be cast to class com.atlassian.renderer.v2.macro.Macro (com.adaptavist.confluence.theme.engine.macros.deprecated.Pagetree2Macro is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @6628b9fb; com.atlassian.renderer.v2.macro.Macro is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @2e8ab815) Unable to render content due to system error: java.lang.ClassCastException: class com.adaptavist.confluence.theme.engine.macros.deprecated.Pagetree2Macro cannot be cast to class com.atlassian.renderer.v2.macro.Macro (com.adaptavist.confluence.theme.engine.macros.deprecated.Pagetree2Macro is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @6628b9fb; com.atlassian.renderer.v2.macro.Macro is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @2e8ab815)
    1. Unknown User (jromigh)

      I just tried putting two instances in the same panel, and that was fine.

      My problem is having in the left sidebar for the theme and having it in the content of a page.

      1. Unknown User (jromigh)

        I'm still experiencing this issue. Is this something that is a bug in Theme Builder or something I need to investigate with my installation?

        1. Unknown User (jromigh)

          Alain,

          Have you seen this behavior before? Pagetree2 in two different panels really breaks my website.

            1. Unknown User (amoran)

              1. Unknown User (jromigh)

                Do the comments count as the same section of page in the layout; in other words, aren't all of those macros present in the "Content" section of the layout?

                I am getting problems when including pagetree2 in both the LSB and Content sections.

                1. Unknown User (amoran)

                  Sadly no ... the comments macro is in a builder panel, in fact the comments macro has to be in a panel, it wont work in the content of the page ... give it a try yourself.

                  Have you tried upgrading?