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}}

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.3
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: