View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002964 | JEDI VCL | 00 JVCL Components | public | 2005-05-18 21:41 | 2005-10-19 15:36 |
Reporter | anonymous | Assigned To | jfudickar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0002964: TJvAppIniFileStorage.PathExists fails if the path is a simple one | ||||
Description | If you call AppStorage.PathExists with a simple path e.g. AppStorage.PathExists('EditorOptions') the function returns false even if a section 'EditorOptions' exists. As you see in the code below the reason is that it that TJvCustomAppIniStorage.PathExistsInt searches for Section+'\'+Key. function TJvCustomAppIniStorage.PathExistsInt(const Path: string): Boolean; var Section: string; Key: string; begin ReloadIfNeeded; SplitKeyPath(Path, Section, Key); Result := IniFile.SectionExists(Section + '\' + Key); end; Why shouldn't this function be simply?: function TJvCustomAppIniStorage.PathExistsInt(const Path: string): Boolean; begin ReloadIfNeeded; Result := IniFile.SectionExists(Path); end; | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2005-05-18 21:41 | anonymous | New Issue | |
2005-07-24 08:24 | jfudickar | Status | new => assigned |
2005-07-24 08:24 | jfudickar | Assigned To | => jfudickar |
2005-07-24 08:25 | jfudickar | Note Added: 0007596 | |
2005-07-24 08:25 | jfudickar | Status | assigned => feedback |
2005-10-19 15:36 | jfudickar | Status | feedback => resolved |
2005-10-19 15:36 | jfudickar | Resolution | open => fixed |