View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
13447Bug reportsComfortUpdatepublic2018-05-23 13:12
ReporterDenisChenu Assigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionunable to reproduce 
Product Version3.4.x 
Summary13447: Updating with pgsql broke on duplicate key
Description

When updating from a 2.72 or lesser version : receive

Erreur non récupérable durant la mise à jour. Détails de cette erreur :

CDbCommand n'a pas pu exécuter la commande SQL: SQLSTATE[23505]: Unique violation: 7 ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « lime_boxes_pkey » DETAIL: La clé « (id)=(1) » existe déjà.. The SQL statement executed was: INSERT INTO "lime_boxes" ("position", "url", "title", "ico", "desc", "page", "usergroup") VALUES (:position, :url, :title, :ico, :desc, :page, :usergroup)

Fichier updatedb_helper.php, ligne 1949.

Steps To Reproduce

Get a pgsql version , update .

Additional Information

Delete manually :ico' => 'templates', set test to if (false && $rowToRemove !== false) {

fix the issue …

pgsql send surely something other than false, maybe null ?

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)3.4.1git
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionpgsql
Server OS (if known)debian
Webserver software & version (if known)apache2
PHP VersionPHP5.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-03-04 20:34 DenisChenu New Issue
2018-03-04 20:34 DenisChenu Status new => assigned
2018-03-04 20:34 DenisChenu Assigned To => LouisGac
2018-05-23 13:12 LouisGac Status assigned => closed
2018-05-23 13:12 LouisGac Resolution open => unable to reproduce