Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004986 [JEDI VCL] 00 JVCL Components crash have not tried 2009-10-20 14:38 2009-10-25 15:53
Reporter wouter_van_nifterick View Status public  
Assigned To jfudickar
Priority normal Resolution fixed  
Status resolved   Product Version 3.37
Summary 0004986: Access violation after assigning JvAppDBStorage1.DataSet
Description When you assign a dataset JvAppDBStorage1, the following code is called:

procedure TJvCustomAppDBStorage.SetDataSource(const Value: TDataSource);
begin
  if Assigned(FSectionLink) and not (FSectionLink.DataSourceFixed and (csLoading in ComponentState)) then
  begin
    FSectionLink.DataSource.RemoveFreeNotification(Self);
    FSectionLink.DataSource := Value;
    FKeyLink.DataSource := Value;
    FValueLink.DataSource := Value;
  end;
  if Value <> nil then
    Value.FreeNotification(Self);
end;

if FSectionLink.DataSource is not set yet, this will result in an access violation. When you set it via the object inspector, the ide comes up with an error message and refuses to assign the new dataset.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0016812)
AHUser (developer)
2009-10-25 15:53

Already fixed.

- Issue History
Date Modified Username Field Change
2009-10-20 14:38 wouter_van_nifterick New Issue
2009-10-20 23:31 jfudickar Assigned To => jfudickar
2009-10-20 23:31 jfudickar Status new => acknowledged
2009-10-25 15:53 AHUser Note Added: 0016812
2009-10-25 15:53 AHUser Status acknowledged => resolved
2009-10-25 15:53 AHUser Fixed in Version => Daily / SVN
2009-10-25 15:53 AHUser Resolution open => fixed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker