View Issue Details

IDProjectCategoryView StatusLast Update
0002638JEDI VCL00 JVCL Componentspublic2005-02-13 09:49
ReporterremkobonteAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.00 
Summary0002638: Reload does not empty the storage, if the file is deleted.
DescriptionCode:

  with TJvAppXMLFileStorage.Create(nil) do
  try
    FileName := 'temp';

    WriteString('\path1\path2', 'dummy');

    DeleteFile(FullFileName);

    Reload;

    S := ReadString('\path1\path2');
    ShowMessage(S);
    // Exp: S = ''
    // Act: S = 'dummy'
  finally
    Free;
  end;

Same for TJvAppIniFileStorage. TJvAppRegistryStorage works.
Additional InformationProblem was actually that I wanted to delete the file before the storage loads it, but I wanted to use the FullFileName property.
TagsNo tags attached.

Activities

obones

2005-02-13 09:49

administrator   ~0006483

This is now solved in CVS.

Issue History

Date Modified Username Field Change
2005-02-13 08:59 remkobonte New Issue
2005-02-13 09:49 obones Status new => resolved
2005-02-13 09:49 obones Fixed in Version => 3.00
2005-02-13 09:49 obones Resolution open => fixed
2005-02-13 09:49 obones Assigned To => obones
2005-02-13 09:49 obones Note Added: 0006483