View Issue Details

IDProjectCategoryView StatusLast Update
0003083JEDI VCL00 JVCL Componentspublic2005-07-24 09:17
ReporterGreenAssigned Tojfudickar 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.00 
Summary0003083: JvAppFileXMLStorage.IsFolderInt disfunctional
DescriptionProblem:
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
TagsNo tags attached.

Activities

jfudickar

2005-07-24 08:32

developer   ~0007597

Changed in cvs. Please have a look on it.

Green

2005-07-24 09:12

reporter   ~0007599

Thanks, looks good :)

jfudickar

2005-07-24 09:17

developer   ~0007600

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