Skip to content

[C2] Migration of language with html entities in column original_name #6356

Open
@NicoDucou

Description

@NicoDucou

In Chamilo 1.11.x installation we have in DB language.original_name values with html entities.
We need to add to the language migration the verification of those caracters to replace them with the corresponding caracter in UTF8.

To do so, in the migration we should check the language.original column if there are entries with "&" followed by the caracter ";" a bit later.
If so we should pass the value through html_entity_decode() to remove the entities and restore the UTF8 value in the database.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions