Ticket Hash: 3747fb82b8b42ec6cfd97e5d3f240303a7ad6f56
Title: Upgrade 1.0.6 >> 1.0.7 : Une erreur s'est produite
Status: Fixed Type: Bug
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2021-06-10 23:11:31
Version Found In: 1.0.7
User Comments:

web.faed added on 2021-06-09 21:12:01:

(text/x-markdown)
Bonjour,

J'étais initialement en version 1.0.5. La mise à jour vers la version 1.0.6 s'est déroulée correctement.

En revanche, la mise à jour vers la version 1.0.7 pose problème (des erreurs similaires sont rencontrées avec la version 1.1.7).

Voici les détails :

Une erreur s'est produite

Exception
no such index: acc_transactions_type

in .../include/lib/KD2/DB/SQLite3.php:519

in .../include/lib/KD2/DB/SQLite3.php:519
→ SQLite3->exec (1 arg.)

in .../include/lib/KD2/DB/SQLite3.php:636
→ KD2\DB\SQLite3->exec (1 arg.)

in .../include/lib/Garradin/Upgrade.php:157
→ KD2\DB\SQLite3->import (1 arg.)

in .../www/admin/upgrade.php:38
→ Garradin\Upgrade::upgrade (0 arg.)

Exception
Error in '1.0.7_migration.sql': no such index: acc_transactions_type
-- Add indexes
DROP INDEX acc_transactions_type;
CREATE INDEX IF NOT EXISTS acc_transactions_type ON acc_transactions (type, id_year);

in .../include/lib/KD2/DB/SQLite3.php:639

in .../include/lib/Garradin/Upgrade.php:157
→ KD2\DB\SQLite3->import (1 arg.)

in .../www/admin/upgrade.php:38
→ Garradin\Upgrade::upgrade (0 arg.)

Avez-vous une idée s'il vous plait ?

bohwaz added on 2021-06-10 21:11:09:

(text/x-markdown)
Hello, merci du signalement, je corrige pour la 1.1.8.

[9714d59a0603fedc4bb8072d46d4593cc43c9c3a625c9253dfa933729b0a06e1]

bohwaz added on 2021-06-10 21:11:31:

(text/x-fossil-plain)
[9714d59a0603fedc4bb8072d46d4593cc43c9c3a625c9253dfa933729b0a06e1] avec le lien c'est mieux