Opened 3 years ago

Closed 3 years ago

#2530 closed defect (done)

CreateExperimentDialog Error (EnumValue + FixedValueParameter)

Reported by: pfleck Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.14
Component: Optimizer Version: 3.3.13
Keywords: Cc:

Description (last modified by pfleck)

Varying an EnumValue<T> in the CreateExperimentDialog causes an error if a FixedValueParameter is used.

Edit: OptionalValueParameters does not work with EnumValues too.

Change History (7)

comment:1 Changed 3 years ago by pfleck

  • Status changed from new to accepted

comment:2 Changed 3 years ago by pfleck

  • Description modified (diff)

comment:3 Changed 3 years ago by pfleck

As it seems, OptionalValueParameters does not work with any types. Currently, if an OptionalValueParameters is null, it is not listed in the CreateExperimentDialog. If it has a value, it behaves like a ValueParameter. Because OptionalValueParameter are rarely used anyway, we will not change this behavior.

comment:4 Changed 3 years ago by pfleck

r13406 Instead of setting a new EnumValue in the parameter, the value of the EnumValue is set.

comment:5 Changed 3 years ago by pfleck

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

comment:6 Changed 3 years ago by abeham

  • Status changed from reviewing to readytorelease

ok

comment:7 Changed 3 years ago by abeham

  • Resolution set to done
  • Status changed from readytorelease to closed

r13456: merged r13406 to stable (also recording mergeinfo as well for previous commits)

Note: See TracTickets for help on using tickets.