Bug #46576
passerelle-minint: adaptation Python3
Start date:
11 Sep 2020
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
No
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'
Files
History
Updated by Thomas Noël 5 months ago
- File 0001-py3-use-s.replace-instead-of-string.replace-46576.patch 0001-py3-use-s.replace-instead-of-string.replace-46576.patch added
- File 0002-py3-remove-u-notation-46576.patch 0002-py3-remove-u-notation-46576.patch added
- File 0003-py3-use-b64encode-46576.patch 0003-py3-use-b64encode-46576.patch added
- Status changed from Nouveau to Solution proposée
- Patch proposed changed from No to Yes
Updated by Frédéric Péters 5 months ago
- Status changed from Solution proposée to Solution validée
Ok, et on verra de toute façon sur leurs tests le résultat.
Updated by Thomas Noël 5 months ago
- Status changed from Solution validée to 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)
Updated by Thomas Noël 5 months ago
- File 0001-py3-use-six.string_types-instead-of-basestring-46576.patch 0001-py3-use-six.string_types-instead-of-basestring-46576.patch added
- Status changed from Résolu (à déployer) to 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)
Updated by Benjamin Dauvergne 5 months ago
- Status changed from Solution proposée to Solution validée
Totalement complaisant.
Updated by Thomas Noël 4 months ago
- File 0001-py3-send-base64-document-as-str-in-storeResource-465.patch 0001-py3-send-base64-document-as-str-in-storeResource-465.patch added
- Status changed from Solution validée to Solution proposée
Suite toujours, il semble qu'il faut envoyer une string lors de l'appel SOAP.
Updated by Serghei Mihai 4 months ago
- Status changed from Solution proposée to Solution validée
- Assignee set to Thomas Noël
Updated by Thomas Noël 4 months ago
- Status changed from Solution validée to 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)