Forum

Export RIDA to xlsx...
 
Notifications
Retirer tout

Export RIDA to xlsx : invalid element name in Entity

4 Posts
2 Utilisateurs
0 Reactions
989 Vu
(@froutier)
Posts: 34
Trusted Member
Début du sujet
 
[#9558]

Hi,

when exporting the "RIDA" report to Excel, I get the following error:

2024-08-29 16:17:32.734 ** ERROR ** [V11.3.1] ERROR **
2024-08-29 16:17:32.734
** ERROR ** [V11.3.1] on file '/var/www/projeqtor/external/HtmlPhpExcel/vendor/ticketpark/htmlphpexcel/lib/HtmlPhpExcel/Parser/Parser.php' at line (97)
2024-08-29 16:17:32.734
** ERROR ***** [V11.3.1] cause = DOMDocument::loadHTML(): htmlParseStartTag: invalid element name in Entity, line: 26

Pdf or preview work fine.
Excel used to work until yesterday. Maybe something with the data (un-escaped forbidden character ?) ?

I don't really know how to troubleshoot this.

Thanks
Franck


 
Posté : 29/08/2024 7:07 pm
(@babynus)
Posts: 14952
Membre Admin
 

Do you have something in the edition that can look like an html tag ?
If so, can you please post desciption (for instance copy of html version of report) to shere source of issue ?


 
Posté : 30/08/2024 8:04 pm
(@froutier)
Posts: 34
Trusted Member
Début du sujet
 

Hi,

back to this old issue. Found the culprit: in a Decision description, someone used to signify "different from". The Excel parser didn't like that at all...
I guess this kind of content should somehow be excluded from parsing... (I was thinking of CDATA, but it's a XML thing, not HTML, if I remember correctly)


 
Posté : 22/01/2025 7:27 pm
(@froutier)
Posts: 34
Trusted Member
Début du sujet
 

peut-être htmlspecialchars pour préparer le document ?


 
Posté : 22/01/2025 7:31 pm
Share:
Retour en haut