RefreshRecord / 'Cannot convert type'

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
bogdan
Posts: 20
Joined: Mon 13 Apr 2015 17:27

RefreshRecord / 'Cannot convert type'

Post by bogdan » Mon 01 Jun 2015 17:16

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)

bogdan
Posts: 20
Joined: Mon 13 Apr 2015 17:27

Re: RefreshRecord / 'Cannot convert type'

Post by bogdan » Tue 02 Jun 2015 17:58

Anyone? A workaround or alternative?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: RefreshRecord / 'Cannot convert type'

Post by ViktorV » Wed 03 Jun 2015 07:59

Thank you for the information. We have reproduced the problem and investigation is in progress. We will inform you when we have any results.

bogdan
Posts: 20
Joined: Mon 13 Apr 2015 17:27

Re: RefreshRecord / 'Cannot convert type'

Post by bogdan » Fri 12 Jun 2015 12:17

Any news concerning this issue, please?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: RefreshRecord / 'Cannot convert type'

Post by ViktorV » Fri 12 Jun 2015 13:26

The fix for the "Cannot convert type" bug will be included in the next UniDAC build, planned for the next week.

bogdan
Posts: 20
Joined: Mon 13 Apr 2015 17:27

Re: RefreshRecord / 'Cannot convert type'

Post by bogdan » Fri 12 Jun 2015 13:51

Great!
Thank you very much!

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: RefreshRecord / 'Cannot convert type'

Post by ViktorV » Tue 23 Jun 2015 09:34

The new UniDAC build with a fix for the "Cannot convert type" bug are available for download now.

Post Reply