View Issue Details

IDProjectCategoryView StatusLast Update
0004986JEDI VCL00 JVCL Componentspublic2009-10-25 15:53
Reporterwouter_van_nifterickAssigned Tojfudickar 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version3.37 
Target VersionFixed in Version3.39 
Summary0004986: Access violation after assigning JvAppDBStorage1.DataSet
DescriptionWhen 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.
TagsNo tags attached.

Activities

AHUser

2009-10-25 15:53

developer   ~0016812

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