Uploaded image for project: 'SiteMesh'
  1. SiteMesh
  2. MSITEMESH-72

Diff module not working due to the prefix mgnl for element mgnl:injecturi is not bound.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      Steps to reproduce

      1. Publish the travel site
      2. Select the travel site and click on Compare versions action
      3. Fill the fields with 1.0, current, english
      4. Click Compare button

      .. Logs, screenshots, gifs...

      Expected results

      The differences are computed and shown to the user

      Actual results

      The following exception is thrown: java.lang.RuntimeException: javax.servlet.ServletException: org.xml.sax.SAXParseException; lineNumber: 230; columnNumber: 73; The prefix "mgnl" for element "mgnl:injecturi" is not bound.

      Workaround

      Development notes

      the stack trace:

      org.xml.sax.SAXParseException; lineNumber: 230; columnNumber: 73; The prefix "mgnl" for element "mgnl:injecturi" is not bound.
      	java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1243)
      	java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
      	org.outerj.daisy.diff.helper.NekoHtmlParser.parse(NekoHtmlParser.java:57)
      	org.outerj.daisy.diff.HtmlCleaner.cleanAndParse(HtmlCleaner.java:41)
      	info.magnolia.module.diff.VersionDiffHtmlGenerator.diff(VersionDiffHtmlGenerator.java:94)
      	info.magnolia.module.diff.VersionDiffHtmlGenerator.diff(VersionDiffHtmlGenerator.java:270)
      	info.magnolia.module.diff.VersionDiffHtmlServlet.getVersionDiffHtml(VersionDiffHtmlServlet.java:273)
      	info.magnolia.module.diff.VersionDiffHtmlServlet.doGet(VersionDiffHtmlServlet.java:160)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:529)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
      	info.magnolia.cms.filters.ServletDispatchingFilter.doFilter(ServletDispatchingFilter.java:148) 

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                aichimescu Andrei Ichimescu
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD