Menu

Dynamic Header Dashlets not rendering accented characters properly

2024-07-10
2024-07-10
  • Jacques Dancause

    Good day,

    Some of our dashlets are not properly rendering their accented characters. This happens:

    example

    This is the code for the dashlet:

    xml

    Is this an iTop bug? We are on version 3.0.2-1. I realise that the dashlet is fetching the words from the database, as a State, from the 'Typology' table. However, when checking the DB, the characters are indeed stored as "Aliéné". The encoding for the database is utf8mb4_unicode_ci. Not sure why this is happening

     

    Last edit: Jacques Dancause 2024-07-10
  • Guillaume Lajarige

    Hello Jacques,

    This seems to be fixed in iTop 3.1.1 (I couldn't find when exactly). You can test on the demo instance for example to make sure. https://demo.combodo.com/full/pages/UI.php (admin / admin)

    You'll see that I added a dashlet on Contacts grouped by Organization, and that the "Démo" organization displays correctly.

    Hope it helps,
    Guillaume

     
    ❤️
    1
    • Jacques Dancause

      Great, thanks a lot Guillaume. We have a very long process to go before we can update to 3.1.1.

      Fortunately I noticed that on my local instance that is running 3.0.3, that bug doesn't exist. I will take a look at upgrading our server to 3.0.3. And I found it in the changelog, issue N°5849.

      Thanks!
      Jacques

       
      ❤️
      1

      Last edit: Jacques Dancause 2024-07-10
    • Guillaume Lajarige

      Thanks for the issue number! 🙌

      Regarding the upgrade to 3.1.1, mind that the next 3.2.0 LTS will be released just after the summer. So if updates take a long time, you might want to wait for 3.2 as it has a lot of bug & security fixes.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.