Page 1 of 1

Conversion error from string BOOLEAN

Posted: Wed 27 May 2015 15:43
by seberaya
Hi,

I got a very weird case. I can build/run my old projects smoothly using IBDAC ver 4.1.4.
When i try new version 5.4.13, It cannot run anymore, it will always shows

"Conversion error from string BOOLEAN"

After a few days i managed to reproduce it. here's how

Create table in your database

CREATE DOMAIN T$BOOLEAN AS
SMALLINT
DEFAULT 0
NOT NULL;

CREATE TABLE t1 (
ID integer default 1 NOT NULL primary key,
CODE varchar(32),
DESCRIPTION varchar(64),
O_EXCEL T$BOOLEAN,
O_SUMMARY T$BOOLEAN
) ;

insert into t1(id)
values(1);

And create delphi app, i use delphi 7,
IBCQuery i set BooleanDomainFields and defaultValues checked in Options.
tdbcheckbox and button to post it.
Run check true and post it, error.

Hope fixed asap

Thanks

Re: Conversion error from string BOOLEAN

Posted: Thu 28 May 2015 09:51
by ViktorV
Unfortunately, we couldn't reproduce the problem in the way you have described: updates were saved correctly with no errors. Please send a small sample demonstrating the problem to viktorv*devart*com, including the script for filling in the database objects.

Re: Conversion error from string BOOLEAN

Posted: Fri 29 May 2015 02:39
by seberaya
Hi,

I have sent a sample project to reproduce it.
Please review

TIA

Re: Conversion error from string BOOLEAN

Posted: Fri 29 May 2015 07:59
by ViktorV
Thank you for the information. We have reproduced the problem and investigation is in progress. We will inform you when we have any results.

Re: Conversion error from string BOOLEAN

Posted: Tue 23 Jun 2015 09:36
by ViktorV
The new IBDAC build with a fix for the "Conversion error from string BOOLEAN" bug are available for download now.