Commit f4ba537f authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Titouan Soulard

AcceptSolver: it's wrong to get value from divergence which is not

related to current sm
parent a8387b22
...@@ -61,6 +61,9 @@ class AcceptSolver(ConfigurablePropertySolverMixin): ...@@ -61,6 +61,9 @@ class AcceptSolver(ConfigurablePropertySolverMixin):
in portal.restrictedTraverse( in portal.restrictedTraverse(
divergence.getProperty('tester_relative_url')).getSolverList()): divergence.getProperty('tester_relative_url')).getSolverList()):
continue continue
#only check divergence belong to this simulation movement
if divergence.getProperty('simulation_movement') != simulation_movement:
continue
new_value = divergence.getProperty('decision_value') new_value = divergence.getProperty('decision_value')
value_dict[solved_property] = new_value value_dict[solved_property] = new_value
self._updateSimulationMovement(simulation_movement, value_dict, self._updateSimulationMovement(simulation_movement, value_dict,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment