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.

Opened 11 years ago

Closed 11 years ago

#834 closed bug (fixed)

Erreur écriture de booléen dans une colonne en POSTGRESQL

Reported by: dlalleme Owned by: laurentj
Priority: high Milestone: Jelix 1.0.8
Component: jelix:dao Version: 1.0.7
Severity: major Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Pour une colonne promotion de type booléen :

$enreg_record->promotion = 'f'; la colonne prend la valeur TRUE -- incorrect $enreg-record->promotion = 0; la colonne prend la valeur FALSE -- Correct mais pas suffisant

La colonne booléenne prend une valeur correcte si l'on y affecte 0 pour FALSE et 1 pour TRUE.

Cordialement

Change History (3)

comment:1 Changed 11 years ago by laurentj

  • Milestone set to Jelix 1.0.8
  • Version changed from 1.1 to 1.0.7

comment:2 Changed 11 years ago by laurentj

  • Owner set to laurentj
  • Status changed from new to assigned

comment:3 Changed 11 years ago by laurentj

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in all branches. r1331

Note: See TracTickets for help on using tickets.