Forum

Print Documents lis...
 
Notifications
Retirer tout

Print Documents list to PDF fails

6 Posts
2 Utilisateurs
0 Reactions
2,861 Vu
 Dan
(@caccia)
Posts: 340
Contributor
Début du sujet
 
[#3252]

Hello,

Just noticed an issue using V5.3: from the main Documents main list, clicking on the PDF icon generates this error:
ERROR : Undefined index: n
in tcpdf.php
at line 8980


 
Posté : 8 Avr PM 12:044
(@babynus)
Posts: 14952
Membre Admin
 

Cannot reproduce.
Can you show print screen of the list you try to export to PDF ?
Can you try and reproduce on Demo ?


 
Posté : 9 Avr AM 01:044
 Dan
(@caccia)
Posts: 340
Contributor
Début du sujet
 

Odd, I have different behaviour on Demo:
Logged in as 'manager', I create a new document and save
=> Even with project selector on 'All Projects', I have no documents listed in the list view !

(note: I created 'DOC1' and 'DOC2' on projects "_P1" and "R1" respectively.


 
Posté : 11 Avr PM 16:044
(@babynus)
Posts: 14952
Membre Admin
 

Issue on Demo is an bug on V5.3.1 : the list of columns to display must be reset in order to have correct display of the list.


 
Posté : 11 Avr PM 16:044
 Dan
(@caccia)
Posts: 340
Contributor
Début du sujet
 

Aha, thanks !

OK, I think we can disregard the error I had raised - this was using a WAMP environment , but I'm not seeing the same behaviour on another test environment. So no problem.

Tiny issue remaining: I notice the 'status' field is not centered in the PDF print. Very minor - our validation guys can be very picky ! 😉


 
Posté : 11 Avr PM 17:044
(@babynus)
Posts: 14952
Membre Admin
 

Yes, html2pdf sometimes has problems with centering items in divs.
Request #2044 recorded to try and find a fix.


 
Posté : 14 Avr PM 18:044
Share:
Retour en haut