Free cookie consent management tool by TermsFeed Policy Generator

Opened 13 years ago

Closed 12 years ago

#1769 closed defect (done)

Operators parameter is out of sync after deserialization

Reported by: abeham Owned by: abeham
Priority: high Milestone: HeuristicLab 3.3.7
Component: Optimization Version: 3.3.7
Keywords: Cc:

Description

The variable operators is initialized to a new collection during deserialization and the parameter is not updated.

[Storable(Name = "Operators")]
private IEnumerable<IOperator> StorableOperators {
  get { return operators; }
  set { operators = new OperatorCollection(value); }
}

Change History (6)

comment:1 Changed 13 years ago by abeham

  • Status changed from new to accepted

comment:2 Changed 13 years ago by abeham

  • Owner changed from abeham to mkommend
  • Status changed from accepted to reviewing

r7431

  • removed private field and stored the collection in the parameter only
  • forwarded calls to Operators to the parameter
  • put StorableOperators property out of use as the collection is persisted through the parameters' persistence

xp is nice :-)

comment:3 Changed 13 years ago by abeham

  • Owner changed from mkommend to abeham
  • Status changed from reviewing to assigned

comment:4 Changed 13 years ago by abeham

  • Owner changed from abeham to mkommend
  • Status changed from assigned to reviewing

I thought that there was another problem, but it seems to be working fine.

comment:5 Changed 13 years ago by mkommend

  • Owner changed from mkommend to abeham
  • Status changed from reviewing to readytorelease

comment:6 Changed 12 years ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3.6 to 3.3.7
Note: See TracTickets for help on using tickets.