Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003083 [JEDI VCL] 00 JVCL Components minor always 2005-07-08 02:56 2005-07-24 09:17
Reporter Green View Status public  
Assigned To jfudickar
Priority normal Resolution fixed  
Status resolved   Product Version 3.00
Summary 0003083: JvAppFileXMLStorage.IsFolderInt disfunctional
Description Problem:
JvAppFileXMLStorage.GetStoredValues(?,?,[aeoFolders,aeoReportListAsValue]) which uses IsFolder will not return the folder nodes (i.e. nodes containing subnodes) of the XML. Nor will JvAppFileXMLStorage.IsFolder function as expected.

Solution:
The bug in the code is at line 563 of JvAppXMLStorage.pas:
...
Node := GetNodeFromPath(RefPath);
Result := False;
...

Change this to:
...
Node := GetNodeFromPath(RefPath);
Result := Assigned(Node) and (Node.Items.Count>0);
...
should do the trick
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007597)
jfudickar (developer)
2005-07-24 08:32

Changed in cvs. Please have a look on it.
(0007599)
Green (reporter)
2005-07-24 09:12

Thanks, looks good :)
(0007600)
jfudickar (developer)
2005-07-24 09:17

Fast reaction :-)

- Issue History
Date Modified Username Field Change
2005-07-08 02:56 Green New Issue
2005-07-24 08:32 jfudickar Note Added: 0007597
2005-07-24 08:32 jfudickar Assigned To => jfudickar
2005-07-24 08:32 jfudickar Status new => feedback
2005-07-24 09:12 Green Note Added: 0007599
2005-07-24 09:17 jfudickar Status feedback => resolved
2005-07-24 09:17 jfudickar Fixed in Version => 3.00
2005-07-24 09:17 jfudickar Resolution open => fixed
2005-07-24 09:17 jfudickar Note Added: 0007600


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker