Page 1 of 1

RefreshRecord / 'Cannot convert type'

Posted: Mon 01 Jun 2015 17:16
by bogdan
Hello
My setup is XE7, Unidac 6.1.3, MySQL 5.5.41
Table definition:

Code: Select all

CREATE TABLE `ss` (
	`id` INT(10) NOT NULL DEFAULT '0',
	`idType` INT(10) NOT NULL,
	`customer` VARCHAR(50) NOT NULL,
	`active` BIT(1) NOT NULL DEFAULT b'0',
	PRIMARY KEY (`id`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
I have a connection-wide type mapping defined as:

Code: Select all

cnn.DataTypeMap.AddDBTypeRule(myBit,ftBoolean);
and a simple UniQuery like 'select * from ss'. The query executes ok.
Yet, upon making a call to UniQuery.RefreshRecord I encounter a 'Cannot convert type' error.
What's wrong?

(in this article it says that this(or a look-alike) bug should already be corrected)

Re: RefreshRecord / 'Cannot convert type'

Posted: Tue 02 Jun 2015 17:58
by bogdan
Anyone? A workaround or alternative?

Re: RefreshRecord / 'Cannot convert type'

Posted: Wed 03 Jun 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: RefreshRecord / 'Cannot convert type'

Posted: Fri 12 Jun 2015 12:17
by bogdan
Any news concerning this issue, please?

Re: RefreshRecord / 'Cannot convert type'

Posted: Fri 12 Jun 2015 13:26
by ViktorV
The fix for the "Cannot convert type" bug will be included in the next UniDAC build, planned for the next week.

Re: RefreshRecord / 'Cannot convert type'

Posted: Fri 12 Jun 2015 13:51
by bogdan
Great!
Thank you very much!

Re: RefreshRecord / 'Cannot convert type'

Posted: Tue 23 Jun 2015 09:34
by ViktorV
The new UniDAC build with a fix for the "Cannot convert type" bug are available for download now.