Bookmarks not working in XE3

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
BitBumper
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 03.02.2010, 16:51

Bookmarks not working in XE3

Post by BitBumper »

Hi,
had the problem, that Bookmarks did not work in
Delphi XE3 with Zeos current trunk and current testing branch.

Figured out, that in Delphi Unit Data.Db the method
TDataSet.GetBookmarkData
was defined like this:

procedure GetBookmarkData(Buffer: TRecordBuffer; Data: TBookmark); overload; virtual;

While in TZAbstractRODataset the method was declared as

procedure GetBookmarkData(Buffer: TRecordBuffer; Data: Pointer); override;

Due to the different declaration the override was never called.
I changed this into

procedure GetBookmarkData(Buffer: TRecordBuffer; Data: TBookmark); override;

and Bookmarks work fine now.

Don't know much of the background of this - but may someone want to check this for the next release.

Greetings,

BitBumper
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

BitBumper,

danke dir. Patch applied Rev.1939 \testing (SVN)

IMHO SetBookmarkData was also involved, right?
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Locked