View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Export PDF From Activities - ProjeQtOr
 

Export PDF From Activities

More
09 Apr 2025 06:45 #1 by FAD
Hi,

I'm with the following !

I can't export activties in pdf (Very strange because it works fine since long time on previous version). I have the log informations here below :


_____________________________________________________________________________________________________________________________2025-04-09 06:36:14.989 ===== TRACE ===== [3] NEW CONNECTED USER 'farnaud' (using remember me feature)
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] EXCEPTION *****
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] on file '/var/www/projeqtor/external/html2pdf/src/Parsing/Html.php' at line (262)
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] cause = Tags are closed in a wrong order for 2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] => #0 /var/www/projeqtor/external/html2pdf/src/Parsing/Html.php (94) -> getTagAction()
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] => #1 /var/www/projeqtor/external/html2pdf/src/Html2Pdf.php (611) -> parse()
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] => #2 /var/www/projeqtor/view/print.php (425) -> writeHTML()
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] => #3 /var/www/projeqtor/view/print.php (312) -> finalizePrint()
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] => Error on print for parameters:
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] -> page : objectDetail.php
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] -> object class : Activity
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] -> object id : 000303
2025-04-09 06:36:25.171 ***** ERROR ***** [V12.0.2] [3] -> report name :
________________________________________________________________________________________________________________________________________________
Projeqtor is hosted on Ubuntu 24.4.02 LTS.

Thank you for your help,

Fred


 

Please Log in or Create an account to join the conversation.

More
10 Apr 2025 09:39 #2 by Arkhanje
Replied by Arkhanje on topic Export PDF From Activities
Hello,

I'm not reproducing this on my end.
Given the error message, the problem probably lies with the content of this activity (id: 303).
There's probably a description or comment field containing incorrect HTML. Try looking at fields that may contain rich text to check if there's a problem.

Please Log in or Create an account to join the conversation.

More
11 Apr 2025 17:12 #3 by g.jibrane@anfh.fr
Does this mean that fiels are not text protected and users can make HTML injection in them ?

Please Log in or Create an account to join the conversation.

More
18 Apr 2025 15:30 #4 by babynus
Replied by babynus on topic Export PDF From Activities
The stored data is protected but not converted nor "fixed".
Description, notes and other fields have editor feature.
These fields are stored in html format, after some sanitization (events, scripts) but not fix .
For instance if you enter (in code format)
<table><tr><td>OK
The tags are not correctly closed.
Brower will manage closing tags automatically, but not the external library used to export PDF

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.051 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.