Project

General

Profile

Defect #1599

Conflict plugin PDF_OUTPUT / Velocity

Added by Sjoerd Hannema 16 days ago. Updated 16 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/01/2025
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

With the new Servoy version 2025.3.1 we have problems with the PDF_OUTPUT plugin. We use that plugin to combine different PDF-bytes to one PDF.
With the start of 2025.3.1 combining PDF's are not working on the application server. Only on the developer machine.

Johan Compagner (Servoy) tells the problem is an outdated jar file. The itext.jar is replaced by openpdf.jar. Velocity is using: iText-4.2.0.jar
See attached file with the support-activity.

Can you check?


Files

servoy_pdf_output_plugin.pdf (234 KB) servoy_pdf_output_plugin.pdf Sjoerd Hannema, 05/01/2025 01:43 PM

History

#1

Updated by Patrick Talbot 16 days ago

Not sure the Velocity rendering will be compatible with openpdf, but I'll give it a try. Problem is that also need to keep users working on legacy Servoy versions to work, and I'm averse to managing different distribution of the plugin, depending on what version of Servoy you are using. I'll see what I can do.

#2

Updated by Sjoerd Hannema 16 days ago

On advice of Johan Compagner I have removed the iText-4.2.0.jar from the plugin directory. Everything is working.

I think that in time you have different plugins. Because .jar files are not compatible anymore. When I build the WAR file also some other JAR files are not exported. These JAR files can also be deleted from the plugin because this is already standard in the LIB directory.

Dependency '/plugins/velocityreport/fs-parser.jar' is not exported because 'fs-parser.jar' is already present in the lib folder.
Dependency '/plugins/velocityreport/fs-commons.jar' is not exported because 'fs-commons.jar' is already present in the lib folder.

#3

Updated by Patrick Talbot 16 days ago

I have tested using openpdf.jar instead of iText, and with some small adaptation, it works.
I will release a v3.9 soon.

However I will not remove the fs-parser.jar and fs-commons.jar jars from the distribution.

Believe it or not, I have to ensure backward compatibility, so that the plugin still works as-is on old versions of Servoy.
Some of my clients are using Servoy with version as old as 7.4 with Java 7, and I don't want to have to maintain different versions of the plugins depending on the Servoy that is used and what is available.
You can safely ignore these warnings though, or remove the jars from your own installation, as you see fit.

#4

Updated by Patrick Talbot 16 days ago

  • Status changed from New to Resolved

See v3.9

Also available in: Atom PDF