View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002633 | JEDI VCL | 00 JVCL Components | public | 2005-02-12 16:04 | 2005-02-13 09:26 |
Reporter | remkobonte | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | 3.00 | |||
Summary | 0002633: TJvAppXMLFileStorage.DeleteSubTree does not work for top level nodes. | ||||
Description | Code: var S: string; begin with TJvAppXMLFileStorage.Create(nil) do try FileName := 'temp.xml'; WriteString('\path1\path2', 'test'); DeleteSubTree(''); S := ReadString('\path1\path2'); // Exp: S = '' // Act: S = 'test' finally Free; end; end; It works for TJvAppIniFileStorage. | ||||
Additional Information | Possible solution (not tested): TJvCustomAppXMLStorage.DeleteSubTreeInt [..] if Assigned(Parent) then Parent.Items.Delete(Name); else Node.Clear; [..] | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2005-02-12 16:04 | remkobonte | New Issue | |
2005-02-13 09:26 | obones | Status | new => resolved |
2005-02-13 09:26 | obones | Fixed in Version | => 3.00 |
2005-02-13 09:26 | obones | Resolution | open => fixed |
2005-02-13 09:26 | obones | Assigned To | => obones |
2005-02-13 09:26 | obones | Note Added: 0006482 |