Opened 7 months ago

Closed 3 months ago

#2710 closed defect (done)

Editing variable nodes in the tree simplifier fails if the variable symbol does not contain any variable names

Reported by: bburlacu Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.15
Component: Problems.DataAnalysis.Symbolic Version: 3.3.14
Keywords: Cc:

Description

The insert new node and edit node dialog within the tree simplifier are not aware of the problem data, therefore the list of available variables is obtained from the symbol itself. But in some situations (perhaps with hand-crafted symbolic models) the symbol does not contain the allowed variables therefore crashing the dialogs.

Change History (8)

comment:1 Changed 7 months ago by bburlacu

r14432: Offer the user the option to provide the variable name when the symbol does not contain a list of available variable names. In this case the combo box is replaced by a text box.

comment:2 Changed 7 months ago by bburlacu

  • Owner set to bburlacu
  • Status changed from new to accepted

comment:3 Changed 6 months ago by bburlacu

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

r14494: Extend tree validity test in the InteractiveSymbolicDataAnalysisSolutionSimplifierView to test if all the variable names in the tree are contained in the solution problem data.

comment:4 Changed 6 months ago by mkommend

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

Reviewed r14432 and r14494.

Please add the current variable name in the textbox when the dialog is opened, instead of using string.Empty in the textbox.

comment:5 Changed 4 months ago by bburlacu

r14706: Set default variable value in the change node edit dialog text box.

comment:6 Changed 4 months ago by bburlacu

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

comment:7 Changed 4 months ago by mkommend

  • Status changed from reviewing to readytorelease

comment:8 Changed 3 months ago by mkommend

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

r14802: Merged r14432, r14494, r14706 into stable.

Note: See TracTickets for help on using tickets.