[MSITEMESH-72] Diff module not working due to the prefix mgnl for element mgnl:injecturi is not bound. Created: 15/Aug/23  Updated: 13/Sep/23

Status: Accepted
Project: SiteMesh
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Andrei Ichimescu Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
dependency
is depended upon by MGNLDIFF-149 Diff doesn't work for site roots Open
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: DevX Bucket
Team: DeveloperX

 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) 

Generated at Mon Feb 12 10:57:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.