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
0002499 [JEDI VCL] 00 JVCL Components minor always 2005-01-13 05:03 2005-01-13 10:24
Reporter bsonnino View Status public  
Assigned To user72
Priority normal Resolution fixed  
Status resolved   Product Version 3.00 BETA 2
Summary 0002499: JvRegistryTreeview doesn't work well when a key has null subkeys (JVCL RC1)
Description When a key has null subkeys (the key is there, but its name is null), JVRegistryTreeView doesn't handle them, showing an infinite tree. An example in my machine is
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Class\{4D36E96E-E325-11CE-BFC1-08002BE10318}

Regedit puts a 4 number digit for these keys
Additional Information I got this fixed adding these two lines in line 340 of JvRegistryTreeview.pas, in procedure GetSubKeys

if AStrings[i] = '' then
  AStrings[i] := Format('%.04d',[i]);

This fixes the problem and shows the treeview like Regedit (it also gets the keys fine).
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006132)
user72
2005-01-13 10:24

Very good catch! Fixed in CVS

- Issue History
Date Modified Username Field Change
2005-01-13 05:03 bsonnino New Issue
2005-01-13 10:24 user72 Status new => resolved
2005-01-13 10:24 user72 Resolution open => fixed
2005-01-13 10:24 user72 Assigned To => user72
2005-01-13 10:24 user72 Note Added: 0006132


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