Voir les traceurs | Bugs | Exporter au format CSV
[Warnings regex] Le fichier php/openmairie/upload.class.php est presque en latin1. (encodage proche) Et vers les lignes 576 il y a des regex avec pleins de caractères spéciaux. Donc comme PHP tourne avec un encodage différent, le moteur de regex ne comprends pas la regex qu'on lui donne. C'est un fichier du framework et le problème est réglé dans les version récentes [Warnings PHP 7] Plus de la moitié des warnings viennent du framework. Et pour le reste c'est pas pertinent de le faire maintenant. On ne va pas gagner grand chose et ça risque d'être du travail pour rien en fonction de ce qu'il faut modifier pour migrer le framework. Par rapport à la fonction d'import de fichier avec des accents et autres dans le nom: Ça sera corrigé au moment de la MAJ du framework. Le jour où c'est fait, voilà le test de la fonctionnalité: Import des inscriptions d'office avec caractères non ASCII dans le nom [Documentation] Import des inscriptions d'office avec caractères non ASCII ... dans le nom Depuis la page d'accueil admin admin Importer le fichier d'inscriptions d'office io_importé.xml # peut être mettre d'autre caractères? voir php/openmairie/upload.class.php ligne ~570 # ne pas oublier de créer le fichier dans binary_files # Car en cas d'erreur dans le test on ne peut pas voir la différence entre un fichier non inexistant et le bug courant de non conversion des caractères spéciaux.
Je viens d'uploader un fichier avec tout les warnings qui sortent après un passage de la suite de tests. (il y a surtout des problèmes de prototypes de fonctions qui ne colles pas.(PHP >= 7))