Bug while get a blob field as ansi string from Firebird – UsedConnection in nil (UniDAC 7.2.5)

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
TsVV
Posts: 1
Joined: Wed 16 Sep 2020 07:50

Bug while get a blob field as ansi string from Firebird – UsedConnection in nil (UniDAC 7.2.5)

Post by TsVV » Wed 16 Sep 2020 07:53

Delphi 10.4.1
UniDAC 7.2.5
Firebird 3.0.5

The error was in UniDAC in DBAccess.pas

For some reason, UsedConnection was not available in TCustomDADataSet.CreateBlobStream() when checking Oracle specific UsedConnection.ConvertEOL property.

I replaced the verification in line 10629 of DBAccess.pas

Code: Select all

if ... UsedConnection.ConvertEOL ... then
on the

Code: Select all

if ... ((UsedConnection <> nil) and UsedConnection.ConvertEOL) ... then
And it works for me.

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

Re: Bug while get a blob field as ansi string from Firebird – UsedConnection in nil (UniDAC 7.2.5)

Post by ViktorV » Thu 17 Sep 2020 04:53

In order for us to be able to give you a detailed answer, we need to have a sample demonstrating the specified behavior. Therefore, please compose a small sample demonstrating the described behavior and send it to us including the scripts for creating database objects through the contact form (https://devart.com/company/contactform.html).

Post Reply