Problem starting with release 7.0.71.1993

I find two bugs with DA starting with version 7.

  1. Datetime fields with format as time show date and time data.
  2. Lookups show key fields when changed (in place of detail info).

I must come back to version 7.0.63.1055 and the bugs disappear.

I can see a very importante refactor on new versions. Are you ignoring data dictionary maybe?

Hello,
We had issue like this. Try to modify uDAFields.pas file:

type THackField = class(TField);

procedure TDACustomField.InternalOnGetText(Sender: TField; var Text: string;
  DisplayText: Boolean);
begin
  if Assigned(fOnGetText) then
    fOnGetText(Self, Text, DisplayText)
  else
    THackField(fField).GetText(Text, DisplayText);
end;

procedure TDACustomField.InternalOnSetText(Sender: TField; const Text: string);
begin
  if Assigned(fOnSetText) then
    fOnSetText(Self, Text)
  else
    THackField(fField).SetText(Text);
end;

If it doesn’t help please can you send us a small testcase which reproduced it?

It fixes the date time problem but don’t fix the lookups problem.

To reproduce it just create a table with two key fields for two tables. create lookups, etc.

Hello,
We couldn’t reproduced it. We attached our testcase. Can you reproduce this error on it?
lookup_test.zip (97.1 KB)

That happens with any Devexpress version.

Dont happens with previous RO versions.

Checks the modified project.

Best regards.lookup_test_Donald.7z (45.3 KB)

Hello,
We couldn’t reproduce it on your testcase and this RO version. Can you write your steps how to reproduce?

Sure.

Open the client and try to change vendorName for another value.

It changes while you are on the record,

if you move on the changes are rolled back.

Just to know, can you reproduce or was just my side?

Hello, here is our result:


Wich is your configuration?

Im using Delphi XE2 all updates + DEVEX 2013.2.3

How can i fix this?

Hello,
You wrote:

Retested with delphi xe2 + devex 2013.2.3 trial. Result is the same.

Sorry but i need a urgent solution for this problem. Maybe is not a Remobjects problem but i need to find where the problem is. That is stoping me to upgrade to DA 7.

I think you have devex subscription, not anymore?

Has Delphi XE2 all updates included? 4+hotfix?

Thanks!

Hello,
Sorry for delay. We tested it with Delphi XE2 Update 4 HotFix1 + DevExpressVCLProductTrial-13.2.3-20140131.exe
We are trying to reproduce and investigate it

i Just want to know if the problem is reproducible ion your side or not. Thanks.

Hello,
Can you look at attached binary client app? We coudn’t reproduce it.
lookup_test.zip (727.9 KB)

I try to run this and ask for RTL160.bpl

I don’t use packages, maybe this is the difference?

Try to generate a dependency free executable.

I testhis on the same machine where compiled the app with error. Mine has 9M and have the bug, yours have 1.7 Mb and don’t have the bug. Yours works fine mine fails. Im lost.

I can give you Teamviewer access if you want, i don’t understand how can it happens, i believe our configs are different?

I upload my test, check by yourself the bug.

https://dl.dropboxusercontent.com/u/76375897/lookup_test.exe

Hello,
We retested your client exe file and saw this behavior. Can you retest it on clean VM (install delphi and compile all)? We used DevExpressVCLProductTrial-13.2.3-20140131.exe in our test.
Our delphi settings:

I have the new VM ready just let me know what exact version of DataAbastract must i test.

Hello,
We test it with RO 7.0.71.1093