Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.2.2
    • Fix Version/s: 9.2.3
    • Component/s: XML
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      When the confluence page has anchors within the page, the macro is not having the id attribute.

      After importing the confluence page, I see this error in the imported page - 

      Invalid macro parameters used for the "id" macro. Cause: [Property [name] mandatory]. Click on this message for details.

      And the stacktrace - 

      org.xwiki.properties.PropertyMandatoryException: Property [name] mandatory at org.xwiki.properties.internal.DefaultBeanManager.populateBean(DefaultBeanManager.java:178) at org.xwiki.properties.internal.DefaultBeanManager.populate(DefaultBeanManager.java:109) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:287) at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:101) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)

       

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              gkumar Ganesh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: