View Issue Details

IDProjectCategoryView StatusLast Update
0006770JEDI VCLMiscellanouspublic2024-05-31 22:56
ReporterdcabaleAssigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in VersionDaily / GIT 
Summary0006770: function TJclUnicodeStrHashSetIterator.GetString returns wrong
Descriptionfunction TJclUnicodeStrHashSetIterator.GetString returns an empty string, instead of the expected result
Steps To Reproduce1. run the attached project
2. state the returned values are an empty string, although they should be: 'first item', 'second item'
TagsIJclStrSet, TJclStrHashSet, TJclUnicodeStrHashSetIterator

Activities

dcabale

2024-03-29 19:02

reporter  

JclStrSet_Test.dpr (573 bytes)

dcabale

2024-03-29 19:08

reporter   ~0022073

proposed solution:
in function TJclUnicodeStrHashSetIterator.GetString: UnicodeString;
replace
    ABucket := FOwnHashSet.FBuckets[FBucketIndex - 1];
by
    ABucket := FOwnHashSet.FBuckets[FBucketIndex];

Issue History

Date Modified Username Field Change
2024-03-29 19:02 dcabale New Issue
2024-03-29 19:02 dcabale Tag Attached: IJclStrSet
2024-03-29 19:02 dcabale Tag Attached: TJclStrHashSet
2024-03-29 19:02 dcabale Tag Attached: TJclUnicodeStrHashSetIterator
2024-03-29 19:02 dcabale File Added: JclStrSet_Test.dpr
2024-03-29 19:08 dcabale Note Added: 0022073
2024-05-31 22:56 AHUser Assigned To => AHUser
2024-05-31 22:56 AHUser Status new => resolved
2024-05-31 22:56 AHUser Resolution open => fixed
2024-05-31 22:56 AHUser Fixed in Version => Daily / GIT