View Issue Details

IDProjectCategoryView StatusLast Update
0002684JEDI VCL00 JVCL Componentspublic2007-01-03 12:06
ReporterremkobonteAssigned Toobones 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version 
Target VersionFixed in Version 
Summary0002684: AppStorage.ConcatPaths strips starting backslash.
DescriptionCode:

var
  S: string;
begin
  with TJvAppRegistryStorage.Create(nil) do
  try
    S := ConcatPaths(['\Path1', 'Path2']);
    ShowMessage(S);
    // exp: '\Path1\Path2'
    // act: 'Path1\Path2'

    Path := '\Path1';
    ShowMessage(Path);
    // exp: '\Path1'
    // act: 'Path1'
  finally
    Free;
  end;
end;
TagsNo tags attached.

Activities

obones

2006-03-30 03:11

administrator   ~0008741

The issue is at lines 922 and 923 of JvAppStorage. It needs to remove the leading path delimiter to avoid looping infinitely right after it. And the way it is constructed, I see no easy way to remove the leading delimiter without rewriting it all or using a kludge. what do you think?

obones

2006-06-08 02:10

administrator   ~0009420

Any news on this?

obones

2007-01-03 12:06

administrator   ~0010491

Well, no change will be done, this would lead to too many inconsistencies.

Issue History

Date Modified Username Field Change
2005-02-24 14:44 remkobonte New Issue
2006-03-30 03:11 obones Note Added: 0008741
2006-03-30 03:11 obones Status new => feedback
2006-06-08 02:10 obones Note Added: 0009420
2007-01-03 12:06 obones Status feedback => resolved
2007-01-03 12:06 obones Resolution open => won't fix
2007-01-03 12:06 obones Assigned To => obones
2007-01-03 12:06 obones Note Added: 0010491