Project

General

Profile

Anomalie #10933

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

Added by Florian AZIZIAN almost 3 years ago. Updated 12 months ago.

Status:
Développé / Analysé (S)
Priority:
3-Mineur
Assignee:
Target version:
Start date:
06/13/2019
Due date:
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 2 years ago

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

#4 Updated by Florian AZIZIAN about 2 years ago

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

#5 Updated by Florian AZIZIAN about 2 years ago

  • Project changed from Backlog to CURRENT SPRINT
  • Status changed from Prêt à développer to En cours de dev (S)

#6 Updated by Florian AZIZIAN about 2 years ago

  • Status changed from En cours de dev (S) to A retravailler (S)

#7 Updated by Emmanuel DILLARD about 2 years ago

  • Status changed from A retravailler (S) to En cours de dev (S)

#8 Updated by Florian AZIZIAN about 2 years ago

  • Status changed from En cours de dev (S) to Développé / Analysé (S)

#9 Updated by Florian AZIZIAN about 2 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 2 years ago

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

#11 Updated by Florian AZIZIAN about 2 years ago

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

#12 Updated by Emmanuel DILLARD about 2 years ago

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

#14 Updated by Emmanuel DILLARD 12 months ago

  • Project changed from Backlog to Backlog Courrier
  • Target version changed from 20.03 (Support restreint) to 20.03 (Restreint)

Also available in: Atom PDF