Projet

Général

Profil

Anomalie #7138

la fonction "concat" de eosfunc ne gère pas None

Ajouté par Emmanuel GARETTE il y a environ 10 ans. Mis à jour il y a environ 10 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
Echéance:
% réalisé:

100%

Distribution:
EOLE 2.4

Description

si "nom_machine" est sans valeur, il y a une erreur dans la fonction "concat" :

ValueError: invalid value for option bacula_sd_name: invalid unicode

Pour reproduire, mettre chaine vide en valeur de "nom_machine" dans l'onglet général, puis "tabulation", la valeur n'est pas validé.

Révisions associées

Révision a08af704 (diff)
Ajouté par Emmanuel GARETTE il y a environ 10 ans

creole/eosfunc.py : support des valeurs 'None' dans la fonction concat (fixes #7138)

Révision c6c367b8 (diff)
Ajouté par Joël Cuissinat il y a presque 10 ans

Test unitaire pour valider eosfunc.concat

Ref #7138
Ref #7701

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 10 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

#2 Mis à jour par Daniel Dehennin il y a environ 10 ans

  • Statut changé de Résolu à Fermé

Variable nom_machine validée à chaîne vide.

Formats disponibles : Atom PDF