Projet

Général

Profil

Actions

Bug #4761

fermé

Navigation vers l'organisation parente

Ajouté par Sebastien Vuillet il y a presque 11 ans. Mis à jour il y a plus de 10 ans.

Statut:
Closed
Priorité:
Normal
Assigné à:
Début:
24/07/2013
Echéance:
% réalisé:

100%

Temps estimé:
Navigateur:
Tous
Votre version de Silverpeas:
5.11.2
Système d'exploitation:
Votre base de données:
Toutes
Livraison en TEST:
Livraison en PROD:

Description

Lorsque les noms des organisations contiennent de redondance (ex: OU=ELECTIONS - AFFAIRES GENERALES ET MILITAIRES,OU=AFFAIRES GENERALES) alors le retour vers l'organisation parente ne fonctionne pas.

Pour corriger cela il faut modifier la classe OrganizationChartLdapServiceImpl, en remplaçant le code :

int indexStart = unit.getCompleteName().indexOf(parentName);
String parentOu = unit.getCompleteName().substring(indexStart - 3);

par celui-ci :

int indexStart = unit.getCompleteName().toUpperCase().indexOf(ou.toUpperCase()+"="+parentName.toUpperCase());
String parentOu = unit.getCompleteName().substring(indexStart);


Demandes liées 1 (0 ouverte1 fermée)

Lié à OrganizationChart - Bug #5125: Navigation vers l'organisation parenteClosedNicolas Eysseric22/11/2013

Actions
Actions

Formats disponibles : Atom PDF