Uploaded image for project: 'Empire-DB'
  1. Empire-DB
  2. EMPIREDB-300

Problem with prepared statements when using booleans with SelectInputControl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • empire-db-2.4.7
    • empire-db-2.5.0
    • Core
    • None

    Description

      When you use the SelectInputControl for BOOL types (to allow null, yes, no) it works as long as you dont use prepared statements.

      When using prepared statements the values "true"/"false" are not converted to true/false and the statement fails (postgres: ERROR: column "col" is of type boolean but expression is of type character varying Hint: You will need to rewrite or cast the expression..

      Attachments

        Activity

          People

            derjan Jan Glaubitz
            derjan Jan Glaubitz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: