Project

General

Profile

Defect #885

plugins.VelocityReport.renderTemplate hangs when using Servoy V8

Added by Steve Hawes over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
overall
Target version:
-
Start date:
10/16/2015
Due date:
% Done:

0%

Estimated time:
Browser (if web client):
Safari 8.0.8

Description

When trying to use the Velocity plugin on Servoy V8 it hangs when calling the plugins.VelocityReport.renderTemplate(template, context) method. This happens in both the Web client and the NG client. No errors are given in either Servoy developer or the velocity log file.

History

#1

Updated by Patrick Talbot over 8 years ago

  • Status changed from New to Resolved

Fixed in v3.5.21 - Several changes happened in Servoy 8 that created this issue:
An internal class ImageLoader doesn't contain a getContentType anymote, Servoy 8 is using the Servlet API 3.1 (was 3.0 before) which contains a different interface for ServletInputStream, which I had to implement and simulate the related class in Servoy < 8
The commons-collections.jar that is in /lib is no longer exposed to plugins, so I had to add it to the velocityreport folder containing the dependencies
Finally the ServletContext.getRealPath method now returns a path without a trailing / which was creating an issue to get the path of the report folder.
All of these issues have been fixed in v3.5.21, which makes it compatible wit Servoy from v5.2 to v8.
So please update and let me know how it goes for you (remember to also update your eastwood.war)

Also available in: Atom PDF