Project

General

Profile

Anomalie #10933

Améliorer les controles dans le script de migration 18.10.sh

Added by Florian AZIZIAN almost 4 years ago. Updated almost 2 years ago.

Status:
Développé / Analysé
Priority:
3-Mineur
Assignee:
Target version:
Start date:
06/13/2019
Due date:
Version applicable:
Tags Courrier:
18.10.15, 19.04.14

Description

RETEX LGI :

oot@MaarchCourrier:/var/www/MaarchCourrier/migration/18.10# [18.10]./migrate.sh
0 custom(s) utilisant la connexion LDAP trouvé(s) et migré(s).
Suppression de 0 PJ de type 'converted_pdf' des PJ en status 'TMP', 'OBS', 'DEL'...
Nouveau répertoire pièces jointes converties : /opt/maarch/docservers/convert_attachments/

451 Pièce(s) jointe(s) de type 'converted_pdf' trouvée :

Copie du document : /opt/maarch/docservers/manual/2018/02/0001//0006.pdf => /opt/maarch/docservers/convert_attachments/2018/02/0001//0006.pdf...
OK!
Insertion dans la table adr_attachments...

Fatal error: Uncaught Exception: SQLSTATE[23505]: Unique violation: 7 ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « adr_attachments_unique_key »
DETAIL: La clé « (res_id, type)=(1, PDF) » existe déjà. in /var/www/MaarchCourrier/src/core/models/DatabasePDO.php:166
Stack trace:
#0 /var/www/MaarchCourrier/migration/18.10/migrateConvertedPdf.php(75): SrcCore\models\DatabasePDO->query('INSERT INTO adr...', Array)
#1 {main}
thrown in /var/www/MaarchCourrier/src/core/models/DatabasePDO.php on line 166

History

#1 Updated by Emmanuel DILLARD over 3 years ago

  • Priority changed from 1-Majeur to 2-Sérieux

#4 Updated by Florian AZIZIAN over 3 years ago

  • Priority changed from 2-Sérieux to 3-Mineur

#5 Updated by Florian AZIZIAN about 3 years ago

  • Project changed from Backlog to CURRENT SPRINT
  • Status changed from Prêt à embarquer to En cours (Sprint)

#6 Updated by Florian AZIZIAN about 3 years ago

  • Status changed from En cours (Sprint) to A retravailler (Sprint)

#7 Updated by Emmanuel DILLARD about 3 years ago

  • Status changed from A retravailler (Sprint) to En cours (Sprint)

#8 Updated by Florian AZIZIAN about 3 years ago

  • Status changed from En cours (Sprint) to Développé / Analysé

#9 Updated by Florian AZIZIAN about 3 years ago

  • Tags Courrier 18.10.15, 19.04.13 added
  • Tags Courrier deleted (18.10.9, 19.04.3)

#10 Updated by Florian AZIZIAN about 3 years ago

  • Tags Courrier 19.04.14 added
  • Tags Courrier deleted (19.04.13)

#11 Updated by Florian AZIZIAN about 3 years ago

  • Status changed from Développé / Analysé to Clôturée

#12 Updated by Emmanuel DILLARD about 3 years ago

  • Project changed from CURRENT SPRINT to Backlog
  • Status changed from Clôturée to Développé / Analysé

#14 Updated by Emmanuel DILLARD almost 2 years ago

  • Project changed from Backlog to Backlog Courrier
  • Target version changed from 20.03 (Fin de vie) to 20.03 (Sécurité)

Also available in: Atom PDF