Project

General

Profile

Anomalie #18616

Problème d'affichage lors de l'import utilisateurs

Added by Paul DURAND almost 2 years ago. Updated almost 2 years ago.

Status:
R&D - Terminé
Priority:
0-Bloquant
Assignee:
Target version:
Start date:
10/26/2021
Due date:
11/05/2021
Version applicable MC:
Tags Courrier:

Description

Lorsque l'on souhaite importer la liste des utilisateurs le problème d'affichage survient dans l'entête de colonne mais aussi dans les données quand il y ai sensé avoir un "é".
CF screenshot.

import_user_problem.png (95.2 KB) import_user_problem.png Paul DURAND, 10/26/2021 10:16 AM
9572

Related issues

Related to Backlog Courrier - Anomalie #18662: Encodage fichier export utilisateurs et entitésClôturé2021-11-03

History

#2 Updated by Paul DURAND almost 2 years ago

  • Priority changed from 2-Sérieux to 0-Bloquant

#3 Updated by Emmanuel DILLARD almost 2 years ago

  • Status changed from A qualifier to Complément d'Informations
  • Assignee set to Paul DURAND

Quel est l'encodage de ton fichier d'import ? (il faut de l'ANSI)

#4 Updated by Paul DURAND almost 2 years ago

Emmanuel DILLARD a écrit :

Quel est l'encodage de ton fichier d'import ? (il faut de l'ANSI)

En fait j'ai simplement essayé d'importer le fichier nouvellement exporter sans l'ouvrir. Donc le format est le même que celui d'origine et quand je regarde en ligne de commande c'est du text/plain; charset=iso-8859-1 alors que pourtant quand je fait l'export des contacts le format c'est du text/plain; charset=utf-8.

#5 Updated by Paul DURAND almost 2 years ago

  • Assignee changed from Paul DURAND to Emmanuel DILLARD

#7 Updated by Ludovic ARAUJO almost 2 years ago

  • Status changed from Complément d'Informations to A traiter
  • Assignee deleted (Emmanuel DILLARD)

#8 Updated by Madina Makhmutova almost 2 years ago

  • Due date changed from 10/29/2021 to 11/16/2021
  • Status changed from A traiter to En cours

#9 Updated by Guillaume HEURTIER almost 2 years ago

  • Status changed from En cours to R&D - En cours

Anomalie uniquement TMA.

Correctif proposé :

dans le fichier src/core/controllers/CoreController.php ligne 230
remplacer

$encoding = mb_detect_encoding(stream_get_contents($resource));

par

$encoding = mb_detect_encoding(stream_get_contents($resource), ['ASCII', 'UTF-8', 'ISO-8859-1']);

#10 Updated by Guillaume HEURTIER almost 2 years ago

  • Status changed from R&D - En cours to R&D - Terminé
  • Assignee set to Paul DURAND

#11 Updated by Madina Makhmutova almost 2 years ago

  • Due date changed from 11/16/2021 to 11/05/2021

#12 Updated by Madina Makhmutova almost 2 years ago

  • Related to Anomalie #18662: Encodage fichier export utilisateurs et entités added

#14 Updated by Emmanuel DILLARD almost 2 years ago

  • Target version changed from 312 to 20.10 TMA1

Also available in: Atom PDF