Quick links: Content - sections - sub sections
EN FR
Quick Search Advanced search
 
Page

  [Opened] Bug possible avec type booléen en POSTGRESQL

Posted by dlalleme on 02/18/2009 23:31

Bonsoir,

Je pense avoir mis le doigt sur un bug.

Pour une colonne promotion de type booléen :

$enreg_record->promotion = 'f'; la colonne prend la valeur TRUE $enreg-record->promotion = 0; la colonne prend la valeur FALSE

Pouvez-vous me confirmer ce bug ?

Je m'en suis aperçu en récupérant une valeur FALSE d'une colonne d'une autre table et en l'affectant à ma colonne promotion.

exemple :

 $enreg-record->promotion = $l->promotion; où promotion = 'f' ce qui est normal en POSGRESQL

Cordialement Denis

  [Opened] Re: Bug possible avec type booléen en POSTGRESQL

Reply #1 Posted by laurentj on 02/19/2009 10:19

Oui je confirme, je viens de vérifier.

Ouvre un ticket s'il te plait sur developer.jelix.org

 
Page
  1. jForms xsd (xml schema) >
  2. Re: problème de connection avec Postgresql >
  3. [Jelix 1.1] Probleme HtmlFragment dans Dialog jQuery >
  4. Error : JELIX_APP_NAME - RESOLU ... >
  5. problème de connection avec Postgresql >
  6. [jTpl] comment faire un count($array) ? >
  7. Bug possible avec type booléen en POSTGRESQL