Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.4b4
-
None
-
None
-
Operating System: Linux
Platform: PC
-
19589
Description
I think there is a little bug between line 137-150. When template terminates
whith a ".vm" extension in the xreg files. we should better have the line
140 : StringBuffer buffer = new StringBuffer(template);
after the if block like that :
if (template != null)
{
int idx = template.lastIndexOf(".");
// StringBuffer buffer = new StringBuffer(template);
if (idx > 0)
// new position
StringBuffer buffer = new StringBuffer(template);
buffer.append("-").append(mode).append(".vm");
template = TemplateLocator.locatePortletTemplate(rundata,
buffer.toString());
context.put("feature", template);
}
and I think it's alway the same for the others sources