#151 closed defect (done)
GetScope(String name) method of the Scope implementation in HeuristicLab.Core does not behave!
Reported by: | pspitzli | Owned by: | swagner |
---|---|---|---|
Priority: | low | Milestone: | HeuristicLab 3.3.0 |
Component: | Core | Version: | 3.0 |
Keywords: | scope, core | Cc: |
Description
The method GetScope(String name) does not get the subscope named name, but simply calls itself again, which creates an endless-loop and a lot of CPU-Load.
I personally don't know how it was intended to act, but I assume it should search the scopes subscopes, and return the one, with the name passed to the method. I also don't know if the scope-lookup should be done recursively or not?
Best Regards
Philip
Change History (8)
comment:1 Changed 17 years ago by swagner
- Status changed from new to assigned
comment:2 Changed 17 years ago by swagner
comment:3 Changed 17 years ago by swagner
Fixed in r261
GetScope now performs a depth-first search looking for a scope with a given name or GUID.
comment:4 Changed 17 years ago by swagner
comment:5 Changed 17 years ago by swagner
- Resolution set to fixed
- Status changed from assigned to closed
comment:6 Changed 16 years ago by swagner
- Milestone changed from 3.0 to Iteration 0
Milestone 3.0 deleted
comment:7 Changed 14 years ago by swagner
- Milestone changed from Iteration 0 to Current
Milestone Iteration 0 deleted
comment:11 Changed 14 years ago by swagner
- Milestone changed from Current to HeuristicLab 3.3.0
Milestone Current deleted
Note: See
TracTickets for help on using
tickets.
The same error occurs in GetScope(Guid guid).