Issue Summary

      Fix html-include macro with Struts

      Steps to Reproduce

      Use HTML macro on a page.

      Expected Results

      No exception

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      Caused by: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html-include' is unknown.
          at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro(XhtmlMacroRendererComponent.java:83)
          at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120)
          at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.java:105)
          at com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:60)
          at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent.render(XhtmlMacroRendererComponent.java:59)
          at com.atlassian.confluence.content.render.xhtml.migration.ErrorReportingV2Renderer.render(ErrorReportingV2Renderer.java:67)
          at com.atlassian.confluence.content.render.xhtml.migration.WikiToXhtmlMigrator.migrate(WikiToXhtmlMigrator.java:56)
          at com.atlassian.confluence.content.render.xhtml.migration.WikiToXhtmlMigrator.migrate(WikiToXhtmlMigrator.java:62)
          ... 379 more
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

          Form Name

            [CONFSERVER-79605] Fix html-include macro with Struts

            Ganesh Gautam made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Not Needed [ 14332 ]
            QA Kickoff Status Original: Not Done [ 14234 ] New: Not Needed [ 14236 ]
            Resolution New: Invalid [ 6 ]
            Status Original: Ready for Development [ 10049 ] New: Closed [ 6 ]

            This issue was found inline with the same behaviour on 8.0.0 main milestones. It was picked from a failure assertion test.

            Ganesh Gautam added a comment - This issue was found inline with the same behaviour on 8.0.0 main milestones. It was picked from a failure assertion test.
            Ganesh Gautam made changes -
            Assignee Original: Minh Tran [ mtran@atlassian.com ]
            Ganesh Gautam made changes -
            Status Original: Needs Triage [ 10030 ] New: Ready for Development [ 10049 ]
            Minh Tran made changes -
            Description Original: h3. Issue Summary
            Fix html-include macro with Struts
            h3. Steps to Reproduce
            Use HTMl macro on a page.

            h3. Expected Results
            No exception

            h3. Actual Results

            The below exception is thrown in the xxxxxxx.log file:
            {noformat}
            Caused by: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html-include' is unknown.
                at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro(XhtmlMacroRendererComponent.java:83)
                at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120)
                at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.java:105)
                at com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:60)
                at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent.render(XhtmlMacroRendererComponent.java:59)
                at com.atlassian.confluence.content.render.xhtml.migration.ErrorReportingV2Renderer.render(ErrorReportingV2Renderer.java:67)
                at com.atlassian.confluence.content.render.xhtml.migration.WikiToXhtmlMigrator.migrate(WikiToXhtmlMigrator.java:56)
                at com.atlassian.confluence.content.render.xhtml.migration.WikiToXhtmlMigrator.migrate(WikiToXhtmlMigrator.java:62)
                ... 379 more
            {noformat}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

            Fix html-include macro with Struts
            h3. Steps to Reproduce

            Use HTML macro on a page.
            h3. Expected Results

            No exception
            h3. Actual Results

            The below exception is thrown in the xxxxxxx.log file:
            {noformat}
            Caused by: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html-include' is unknown.
                at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro(XhtmlMacroRendererComponent.java:83)
                at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120)
                at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.java:105)
                at com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:60)
                at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent.render(XhtmlMacroRendererComponent.java:59)
                at com.atlassian.confluence.content.render.xhtml.migration.ErrorReportingV2Renderer.render(ErrorReportingV2Renderer.java:67)
                at com.atlassian.confluence.content.render.xhtml.migration.WikiToXhtmlMigrator.migrate(WikiToXhtmlMigrator.java:56)
                at com.atlassian.confluence.content.render.xhtml.migration.WikiToXhtmlMigrator.migrate(WikiToXhtmlMigrator.java:62)
                ... 379 more
            {noformat}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Minh Tran made changes -
            Assignee New: Minh Tran [ mtran@atlassian.com ]
            Ganesh Gautam made changes -
            Story Points New: 2
            Ganesh Gautam made changes -
            Labels New: dep-80 struts2-blocker
            Ganesh Gautam made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 668397 ]
            Ganesh Gautam made changes -
            Epic Link New: CONFSRVDEV-22580 [ 1857711 ]

              Unassigned Unassigned
              ggautam Ganesh Gautam
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: