Bug #32543
atomic_write n'utilise pas le chemin du tenant
Début:
23 avril 2019
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Le répértoire temporaire est calculé par rapport au settings.MEDIA_ROOT
qui peut être différent de celui du vrai répértoire du tenant.
Fichiers
Révisions associées
Historique
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans
tmp_dir = default_storage.path('tmp')
au lieu de
tmp_dir = os.path.join(settings.MEDIA_ROOT, 'tmp')
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans
- Fichier 0001-utils-write-atomic-temporary-file-on-default-storage.patch 0001-utils-write-atomic-temporary-file-on-default-storage.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
Je ne vois pas les tests s'exécuter, faut pousser la branche (publicité gratuite http://git.entrouvert.org/git-redmine.git/).
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
- Assigné à mis à Serghei Mihai (congés, retour 15/05)
Ack de forme en attendant les tests.
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans
- Fichier 0001-utils-write-atomic-temporary-file-on-default-storage.patch 0001-utils-write-atomic-temporary-file-on-default-storage.patch ajouté
- Statut changé de Solution validée à Solution proposée
Une petite modification du test pour ne pas recréer le répértoire du défaut storage.
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
Faut pousser les branches.
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 765166fa6d97d28474cfaa22dbac9ec32fbf9b3c (HEAD -> master, origin/master, origin/HEAD) Author: Serghei Mihai <smihai@entrouvert.com> Date: Tue Apr 23 18:48:58 2019 +0200 utils: write atomic temporary file on default storage location (#32543)
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
utils: write atomic temporary file on default storage location (#32543)