There's an issue with the TemplateTwo module that I noticed, I think it's a bug, just to confirm I put it in the mailing list first.<div><br></div><div>When I import the module org.opencms.frontend.templatetwo_7.0.4.zip to OpenCms 8.0.4, the /system/handler/handle404.html will be overwritten, as it's part of the module.</div>
<div><br></div><div>This file holds an import and code line as follows:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><font face="courier new, monospace"><%@ page session="false" isErrorPage="true" contentType="text/html" import="</font></div>
</div><div><div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span>org.opencms.jsp.util.*,org.opencms.file.*,org.opencms.main.*,<b>org.opencms.frontend.templatetwo.*</b></font></div></div><div>
<div><font face="courier new, monospace">"%></font></div></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">if (template != null && template.equals(<b>CmsTemplateLayout.VFS_PATH_TEMPLATE</b>)) { ....</font></div>
</blockquote><div><br></div><div>where the CmsTemplateLayout.VFS_PATH_TEMPLATE is causing a ClassNotFound exception.</div><div><br></div><div>Because there is no org.opencms.frontend.templatetwo.* package available, as the org.opencms.frontend.templatetwo.jar is for some reason not part of the module?!</div>
<div><br></div><div>It's so strange. I had to copy the jar over from an older OpenCms 7.0.5 installation and place it to OpenCms 8.0.5.</div><div><br></div><div>Also, when I unzip the TemplateTwo module zip, I don't find any lib folder nor jar file in it. Am I missing something?</div>
<div><br></div><div>What's also strange: I see that there's an export point configured for the module:</div><div><font face="courier new, monospace">/system/modules/org.opencms.frontend.templatetwo/lib/</font><br>
</div><div>but this lib-folder doesn't exist actually.</div><div><br></div><div>(I don't think I ever had this issue on any of my previous OpenCms 7.x installations.)</div>