2020-12-08
23:25 Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz
2013-09-29
11:20 Fixed ticket [0d764c31f3]: lib.DB : problème dans le parsage des champs plus 5 other changes artifact: 927327f6e6 user: bohwaz
11:17
Fix [0d764c31f3b0032f00d8f5b541df8f212fac78f8] : toujours utiliser bindvalue pour les paramètres check-in: b5d1b8123b user: bohwaz tags: trunk
2013-09-17
17:39 New ticket [0d764c31f3] lib.DB : problème dans le parsage des champs. artifact: 0e7c55a9a5 user: bohwaz

Ticket Hash: 0d764c31f3b0032f00d8f5b541df8f212fac78f8
Title: lib.DB : problème dans le parsage des champs
Status: Fixed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2013-09-29 11:20:25
Version Found In:
User Comments:

bohwaz added on 2013-09-17 15:39:39:

J'ai tenté d'ajouter un second champ telephone2 ou telephone_2.
L'ajout du champ marche mais un plantage a lieu lors de l'ajout ou la 
modification d'une fiche :

Exception of type ErrorException happened !

0 - SQLite3::exec(): near "_2": syntax error

In: /var/www/ondd/garradin/include/class.db.php:337

http://gestion.ndd.local/admin/membres/modifier.php?id=1

#0 [internal function]: Garradin\exception_error_handler(2, 
'SQLite3::exec()...', '/var/www/ondd/g...', 337, Array)
#1 /var/www/ondd/garradin/include/class.db.php(337): 
SQLite3->exec('UPDATE membres ...')
#2 /var/www/ondd/garradin/include/class.db.php(325): 
Garradin\DB->simpleExec('UPDATE membres ...', Array)
#3 /var/www/ondd/garradin/include/class.membres.php(414): 
Garradin\DB->simpleUpdate('membres', Array, 'id = 1')
#4 /var/www/ondd/garradin/www/admin/membres/modifier.php(70): 
Garradin\Membres->edit(1, Array, false)
#5 {main}

bohwaz added on 2013-09-29 09:20:25:

Corrigé dans [b5d1b8123b]