Anne-Catherine 04a5e5463a N°9759 - Truncating AttributeText doesn't work as expected in case of multibytes characters (#964)
* N°9759 - Truncate AttributeText don't work as expected in case of multibytes characters

* WIP

* Move TrimValue() base definition to AttributeDefinition class, assign DBObject::SetTrim old behavior to it

* Fix variable types

* Fix variable types

* Apply code review fixes, add tests

* Define GetSize in AttributeDefinition to easy polymorphic calls instead of obscure AttributeDBFieldVoid

* Update php with right since version and ticket, remove useless method overload

* Apply suggestions from code review

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update core/attributedef.class.inc.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update core/attributedef.class.inc.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Apply suggestion from @Molkobain code review

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Apply suggestion from @Molkobain code review

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Apply suggestion from @Molkobain code review

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Apply suggestion from @Molkobain code review

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Apply suggestion from @Molkobain code review

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Correctly handle null values in new methods

---------

Co-authored-by: Stephen Abello <stephen.abello@combodo.com>
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
2026-07-23 16:07:42 +02:00
2026-07-02 11:55:34 +02:00
2026-07-14 23:32:52 +02:00
2026-07-12 21:25:17 +02:00
2019-11-22 18:44:27 +01:00
2021-08-18 14:35:35 +02:00
2020-06-23 15:10:09 +02:00
2022-12-13 18:15:25 +01:00

Logo iTop with baseline

iTop stands for IT Operations Portal. It is a complete open source and web-based IT service management platform, including a fully customizable CMDB, a helpdesk system, and a document management tool. It is ITIL compliant and easily customizable and extensible thanks to a high number of add-ons and web services to integrate with your IT.

iTop also offers mass import tools to help you become even more efficient.

Features

Latest release

Resources

About Us

iTop development is sponsored, led, and supported by Combodo.

Developers

You can find information and instructions about our quality tools and how to run them here.

Contributors

We would like to give a special thank you 🤗 to the people from the community who contributed to this project, including:

Names

  • Al Hallak, Amr (a.k.a @v4yne1)
  • Alves, David
  • Audon, Florian
  • Beck, Pedro
  • Beer, Christian (a.k.a @ChristianBeer)
  • Bilger, Jean-François
  • Bostoen, Jeffrey (a.k.a @jbostoen)
  • Cardoso, Anderson
  • Cassaro, Bruno
  • Casteleyn, Thomas (a.k.a @Hipska)
  • Castro, Randall Badilla
  • Colantoni, Maria Laura
  • Couronné, Guy
  • Dejin, Bie (a.k.a @bdejin)
  • Delicado, Elodie
  • Dvořák, Lukáš
  • Goethals, Stefan
  • Giuva, Vincenzo Katriel (a.k.a @DarkNight97boss)
  • Gumble, David
  • Håkon, Harnes (a.k.a @hakonharnes)
  • Heloir, Arthur
  • Janssens, Jelle (a.k.a @janssensjelle)
  • Ji, Leeb (冀利斌) (a.k.a @chileeb)
  • Kaltefleiter, Lars (a.k.a @larhip)
  • Khamit, Shamil
  • Kincel, Martin
  • Konečný, Kamil
  • Kunin, Vladimir
  • Lassiter, Denis (a.k.a @delassiter)
  • Lazcano, Federico
  • Lucas, Jonathan
  • Malik, Remie
  • Mantel, Ina
  • Martin, Pierre (a.k.a @Worty)
  • Melchiorre, Romain
  • Mindêllo de Andrade, Lucas (a.k.a @rokam)
  • Mozart de Oliveira, Eduardo (a.k.a @eduardomozart)
  • Raenker, Martin
  • Roháč, Richard (a.k.a @RohacRichard)
  • Rosenke, Stephan
  • Rossi, Tommaso (a.k.a @tomrss)
  • Rudner, Björn (a.k.a @rudnerbjoern)
  • Šafránek, Jaroslav (a.k.a jkcinik on SourceForge)
  • Seki, Shoji
  • Shilov, Vladimir
  • Stetina, Pavel (a.k.a @Stetinac)
  • Stukalov, Ilya (a.k.a @ilya)
  • Tarjányi, Csaba (a.k.a @tacsaby)
  • Toraya, Chairat (a.k.a @Kyokito1412)
  • Tulio, Marco
  • Turrubiates, Miguel
  • Višnjić, Aldin (a.k.a@viliald)
  • Vlk, Karel (a.k.a @vlk-charles)

Aliases

  • chifu1234
  • cprobst
  • DudekArtur
  • Karkoff1212
  • Laura
  • nv35
  • Purple Grape
  • Schlobinux
  • theBigOne
  • ulmerspatz

Companies

Languages
PHP 87.8%
JavaScript 4.9%
SCSS 2.6%
Twig 2.3%
CSS 2.1%
Other 0.2%