Anne-Catherine 5715e0484f 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-17 16:40:09 +02:00
2026-04-17 15:17:55 +02:00
2019-11-22 18:44:27 +01:00
2021-08-18 14:35:35 +02:00
2025-07-07 16:01:57 +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.

Contributors

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

Names

  • Alves, David
  • 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)
  • Dvořák, Lukáš
  • Goethals, Stefan
  • Gumble, David
  • Ji, Leeb (冀利斌) (a.k.a @chileeb)
  • Kaltefleiter, Lars (a.k.a @larhip)
  • Khamit, Shamil
  • Kincel, Martin
  • Konečný, Kamil
  • Kunin, Vladimir
  • Lassiter, Dennis
  • Lazcano, Federico
  • Lucas, Jonathan
  • Malik, Remie
  • 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-stukalov)
  • Tarjányi, Csaba (a.k.a @tacsaby)
  • Tulio, Marco
  • Turrubiates, Miguel
  • 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%