Bug #46576
passerelle-minint: adaptation Python3
Début:
11 septembre 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
il y a notamment :
- des string.replace => AttributeError: module 'string' has no attribute 'replace'
- des document.encode('utf-8').encode('base64') => AttributeError: 'bytes' object has no attribute 'encode'
Fichiers
Historique
Mis à jour par Thomas Noël il y a plus de 3 ans
- Fichier 0001-py3-use-s.replace-instead-of-string.replace-46576.patch 0001-py3-use-s.replace-instead-of-string.replace-46576.patch ajouté
- Fichier 0002-py3-remove-u-notation-46576.patch 0002-py3-remove-u-notation-46576.patch ajouté
- Fichier 0003-py3-use-b64encode-46576.patch 0003-py3-use-b64encode-46576.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
Ok, et on verra de toute façon sur leurs tests le résultat.
Mis à jour par Thomas Noël il y a plus de 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 5a10ff7d982626d4b22688e811226073d998832a Author: Thomas NOEL <tnoel@entrouvert.com> Date: Fri Sep 11 12:06:15 2020 +0200 py3: use b64encode (#46576) commit 29da93581120dc7e375ec222434a9cbbae20ba79 Author: Thomas NOEL <tnoel@entrouvert.com> Date: Fri Sep 11 12:04:21 2020 +0200 py3: remove u'' notation (#46576) commit f5896c55d4b927cfaccc422b844f62f6ca38d8b7 Author: Thomas NOEL <tnoel@entrouvert.com> Date: Fri Sep 11 11:45:10 2020 +0200 py3: use s.replace instead of string.replace (#46576)
Mis à jour par Thomas Noël il y a plus de 3 ans
- Fichier 0001-py3-use-six.string_types-instead-of-basestring-46576.patch 0001-py3-use-six.string_types-instead-of-basestring-46576.patch ajouté
- Statut changé de Résolu (à déployer) à Solution proposée
Et la suite ... (il faudra que je trouve le temps d'écrire un test qui couvre un peu, mais ce n'est pas une petite opération)
Mis à jour par Benjamin Dauvergne il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
Totalement complaisant.
Mis à jour par Thomas Noël il y a plus de 3 ans
- Fichier 0001-py3-send-base64-document-as-str-in-storeResource-465.patch 0001-py3-send-base64-document-as-str-in-storeResource-465.patch ajouté
- Statut changé de Solution validée à Solution proposée
Suite toujours, il semble qu'il faut envoyer une string lors de l'appel SOAP.
Mis à jour par Serghei Mihai il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
- Assigné à mis à Thomas Noël
Mis à jour par Thomas Noël il y a plus de 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit edae2d9faa65991ab8280f572c5caefca5375c8d Author: Thomas NOEL <tnoel@entrouvert.com> Date: Mon Sep 14 12:31:46 2020 +0200 py3: send base64 document as str in storeResource (#46576)
Mis à jour par Frédéric Péters il y a plus de 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée