Free cookie consent management tool by TermsFeed Policy Generator

Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#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 16 years ago by swagner

  • Status changed from new to assigned

comment:2 Changed 16 years ago by swagner

The same error occurs in GetScope(Guid guid).

comment:3 Changed 16 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 16 years ago by swagner

Merged r260:261 into 3.0 release branch in r262

comment:5 Changed 16 years ago by swagner

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 15 years ago by swagner

  • Milestone changed from 3.0 to Iteration 0

Milestone 3.0 deleted

comment:7 Changed 13 years ago by swagner

  • Milestone changed from Iteration 0 to Current

Milestone Iteration 0 deleted

comment:11 Changed 13 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.