Page 1 of 1

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

Posted: Wed 16 Sep 2020 07:53
by TsVV
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.

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

Posted: Thu 17 Sep 2020 04:53
by ViktorV
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).