developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 9 years ago
Closed 9 years ago
#1428 closed bug (fixed)
jDao méthode dans le xml condition "IN"
Reported by: | Zeffyr | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Jelix 1.2.9 |
Component: | jelix:dao | Version: | 1.3RC1 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
Le bug concerne la condition IN dont les paramètres sont en statique dans la factory de la dao. Si les paramètres sont des entiers il y a un comportement normal. Sinon on doit "échapper" les quotes des chaines de caractères de cette manière pour ne pas générer d'erreur:
<in property=“foo” value=”\'toto\',\'titi\',\'tata\'” />
Dans la doc l'exemple est ainsi:
<in property=“foo” value=”'toto','titi','tata'” />
Change History (2)
comment:1 Changed 9 years ago by laurentj
- Status changed from new to confirmed
comment:2 Changed 9 years ago by laurentj
- Milestone set to Jelix 1.2.9
- Resolution set to fixed
- Status changed from confirmed to closed
Note: See
TracTickets for help on using
tickets.
fixed
https://github.com/jelix/jelix/commit/5c265d9e8608b4b009e7c4ec9dbcac02758df164