Hello,
I noticed an issue that could be resolved in the next patch. When adding a Header with statistic dashlet, Group by values with French characters appear to be displaying HTML encoding instead (screenshot attached).
After investigating the iTop base code, we noticed that there is a function to encode HTML special characters, which is used twice before output. If we were to remove one of them, it displays the characters correctly.
The function is called HtmlEntities which is defined in /application/utils.inc.php. It is then called in /application/displayblock.class.inc.php on line 1048 on a string that was already encoded.
Hello,
We had some bugs like this during the beta.
I see there are no problems on the demo :
https://demo.combodo.com/simple/pages/UI.php
Login admin-fr / admin
Welcome screen
"Gestion des demandes" dashlet
Are you really running iTop 3.0.0 final version on not one of its beta ?
Hello,
Yes, we are running iTop 3.0.0 final version, which was downloaded from source forge. https://sourceforge.net/projects/itop/files/itop/3.0.0/
Were you able to look into the function is called HtmlEntities, defined in /application/utils.inc.php? It is then called in /application/displayblock.class.inc.php on line 1048 on a string that was already encoded. We noticed that this function will encode HTML special characters, which is used twice before output. If we were to remove one of them, it displays the characters correctly.
Can you provide a mean to reproduce please ?
Using one of the demo instance (https://www.combodo.com/itop-access-to-the-demonstration) if possible ?
Hello,
I have recreated the issue on your demo instance.
https://demo.combodo.com/simple/pages/UI.php?auth_user=admin&suggest_pwd=admin
https://demo.combodo.com/simple/pages/UI.php?operation=details&class=Location&id=7&&a=1#ObjectProperties=tab_UIPropertiesTab
Many thanks, I can now reproduce easily !
I've created a bug in Combodo's internal DB :
N°4991N°4538Last edit: Pierre Goiffon 2022-03-24
I noticed this issue was not fixed in 3.0.1. Could you provide a date for when we can expect it to be resolved?
Milestone is "unassigned" and status is not "resolved" yet. So there is no indication it would have been fixed in 3.0.1.
Hello,
The bug is been working on currently. We will update this ticket when we will publish the version including this fix.
In the meantime you can check regularly the iTop repo log : you will find the internal ref "N°4538" on each corresponding commit log message.
Fix iTop 2.7.7 will be delivered next week
iTop version 2.7.7?
We currently have v3.0.1 installed
Fixes from iTop 2.7.7 will be integrated in iTop 3.0.2 which will roll out early autumn.
Cheers,
Guillaume
It will also be included in 3.0.2 planned for September...