Uploaded image for project: 'Numbered References'
  1. Numbered References
  2. NBREF-9

Transformation fails when the reference macro is used inside a wiki macro which does not use {{wikimacrocontent}}

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.3.3
    • 1.3.2
    • None
    • Unknown
    • N/A
    • N/A

    Description

      2019-08-29 15:14:51,784 [http://localhost:8080/xwiki/bin/view/Modellvalidierung/Bericht/OpRisk/?Report=Report] ERROR t.DefaultTransformationManager - Failed to execute transformation
      java.lang.ClassCastException: org.xwiki.rendering.block.TableCellBlock cannot be cast to org.xwiki.rendering.block.MacroMarkerBlock
                      at org.xwiki.contrib.numberedreferences.internal.AbstractNumberedTransformation.replaceReferenceBlocks(AbstractNumberedTransformation.java:65)
                      at org.xwiki.contrib.numberedreferences.internal.NumberedHeadingsTransformation.transform(NumberedHeadingsTransformation.java:123)
                      at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
                      at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:101)
      

      Caused by XWIKI-16708

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: