Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-47

Id macro is not imported properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.2.3
    • 9.2.2
    • XML
    • Unit
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: