Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Export PDF From Act...
 
Notifications
Clear all

Export PDF From Activities

4 Posts
4 Users
0 Reactions
973 Views
(@fad)
Posts: 46
Active Member
Topic starter
 
[#9807]

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

 


 
Posted : 09 Apr 2025 8H45
(@marylene)
Posts: 592
Contributor Admin
 

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.


 
Posted : 10 Apr 2025 11H39
(@g-jibraneanfh-fr)
Posts: 8
Active Member
 

Does this mean that fiels are not text protected and users can make HTML injection in them ?


 
Posted : 11 Apr 2025 19H12
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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)

OK
The tags are not correctly closed.
Brower will manage closing tags automatically, but not the external library used to export PDF


 
Posted : 18 Apr 2025 17H30
Share:

Open source project management software

Subscribe to our newsletter

© All Rights Reserved. 2025 ProjeQtOr

Scroll to Top