Project

General

Profile

Anomalie #5924

eoleclient.php essaie systématiquement de créer la table ticket

Added by Joël Cuissinat over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
08/26/2013
Due date:
08/30/2013
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:
EOLE 2.4

Description

En 2.4, ça donne :

<tree>
    <message type="ERROR">SQLite3::query(): table ticket already exists</message>
</tree>

En 2.3, l'erreur est masquée grâce au "@" (cf. #652) mais je suis sûr qu'on peut faire mieux (tester l'existence du fichier ?) !


Related issues

Follows eole-php5-cas - Evolution #5634: Call to undefined function sqlite_open() Fermé 06/17/2013 06/21/2013

Associated revisions

Revision ae555ea5 (diff)
Added by Joël Cuissinat over 6 years ago

  • eole/eoleclient.php : utilisation de "CREATE TABLE IF NOT EXISTS"

Fixes #5924 @10m [2.4]

History

#1 Updated by Joël Cuissinat over 6 years ago

  • Due date set to 08/30/2013
  • Status changed from Nouveau to Accepté
  • Assigned To set to Joël Cuissinat
  • Target version set to Mises à jour 2.3.11
  • Start date set to 08/26/2013

#2 Updated by Joël Cuissinat over 6 years ago

  • Target version changed from Mises à jour 2.3.11 to Eole 2.4-alpha
  • Distribution changed from Toutes to EOLE 2.4

NB : la modification n'est pas applicable telle quelle en 2.3 car le code de la 2.3 utilise le module sqlite2 (cf. #5634)

#3 Updated by Joël Cuissinat over 6 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF