• Arnaud Fontaine's avatar
    Prevent 'draft' Solver Process from being created when there is already a 'solving' one (#KH-1107). · 2e2f59f7
    Arnaud Fontaine authored
      1. 'Solve Divergences' action:
         => Display Delivery_viewSolveDivergenceDialog.listbox:
            -> Delivery_getSolverDecisionList
               -> Delivery_getSolverProcess => create Solver Process in 'draft' state and build Solver Decisions.
      2. Clicking 'Update' button updates Solver Decisions.
      3. Click 'Solve Divergences' button after either 'Adopt Prevision' or 'Accept Decision'.
         => SolverProcess.solve():
            Solver Process transit to 'solving' state and 'solve' Activity is created.
    
    Before this Activity is executed, user can still select 'Solve Divergences'
    action and this will create another 'Solver Process' as the current one is not
    in 'draft' state anymore. Moreover, another user can still 'Adopt Prevision'
    (while the first user selected 'Accept Decision') and this will be actually be
    applied despite the first user choice.
    
    Instead, create Solver Process when transiting to 'diverged' state and do not
    display 'Solve Divergences' button nor allow access to 'Solve Divergences
    Dialog' (Delivery_viewSolveDivergenceDialog) if there is a Solver Process in
    'solving' state.
    2e2f59f7
Name
Last commit
Last update
..
AppliedRule_view Loading commit data...
CategoryMembershipDivergenceTester_viewConfiguration Loading commit data...
DateTimeDivergenceTester_viewConfiguration Loading commit data...
Delivery_viewSolveDivergenceDialog Loading commit data...
FloatDivergenceTester_viewConfiguration Loading commit data...
GenericSolver_viewConfigurationFormBox Loading commit data...
ItemListSplitSolver_viewConfigurationFormBox Loading commit data...
QuantitySplitSolver_viewConfigurationFormBox Loading commit data...
Rule_view Loading commit data...
Rule_viewFieldLibrary Loading commit data...
SimulationMovement_view Loading commit data...
SimulationTool_viewContentList Loading commit data...
SolverProcess_viewDeliverySolverList Loading commit data...
SolverTool_viewSolverProcessList Loading commit data...
Solver_viewConfiguration Loading commit data...
SpecialiseDivergenceTester_viewConfiguration Loading commit data...
StringDivergenceTester_viewConfiguration Loading commit data...
TargetSolver_view Loading commit data...
TesterType_view Loading commit data...
Tester_view Loading commit data...
VariationDivergenceTester_viewConfiguration Loading commit data...
AppliedRule_view.xml Loading commit data...
Base_editConfiguration.py Loading commit data...
Base_editConfiguration.xml Loading commit data...
Base_getSortedCategoriesList.py Loading commit data...
Base_getSortedCategoriesList.xml Loading commit data...
CategoryMembershipDivergenceTester_viewConfiguration.xml Loading commit data...
DateTimeDivergenceTester_viewConfiguration.xml Loading commit data...
Delivery_getSolverDecisionList.py Loading commit data...
Delivery_getSolverDecisionList.xml Loading commit data...
Delivery_getSolverProcess.py Loading commit data...
Delivery_getSolverProcess.xml Loading commit data...
Delivery_submitSolveDivergenceDialog.py Loading commit data...
Delivery_submitSolveDivergenceDialog.xml Loading commit data...
Delivery_updateSolveDivergenceDialog.py Loading commit data...
Delivery_updateSolveDivergenceDialog.xml Loading commit data...
Delivery_viewSolveDivergenceDialog.xml Loading commit data...
FloatDivergenceTester_viewConfiguration.xml Loading commit data...
GenericSolver_viewConfigurationFormBox.xml Loading commit data...
ItemListSplitSolver_viewConfigurationFormBox.xml Loading commit data...
QuantitySplitSolver_viewConfigurationFormBox.xml Loading commit data...
RuleMixin_asPredicate.py Loading commit data...
RuleMixin_asPredicate.xml Loading commit data...
Rule_testFalse.py Loading commit data...
Rule_testFalse.xml Loading commit data...
Rule_view.xml Loading commit data...
Rule_viewFieldLibrary.xml Loading commit data...
SimulationMovement_view.xml Loading commit data...
SimulationTool_viewContentList.xml Loading commit data...
SolverDecision_getDeliverySolverList.py Loading commit data...
SolverDecision_getDeliverySolverList.xml Loading commit data...
SolverDecision_getDivergenceDescription.py Loading commit data...
SolverDecision_getDivergenceDescription.xml Loading commit data...
SolverProcess_getSolverDecisionList.py Loading commit data...
SolverProcess_getSolverDecisionList.xml Loading commit data...
SolverProcess_viewDeliverySolverList.xml Loading commit data...
SolverTool_viewSolverProcessList.xml Loading commit data...
Solver_viewConfiguration.xml Loading commit data...
Solver_viewConfigurationFormBox.xml Loading commit data...
SpecialiseDivergenceTester_viewConfiguration.xml Loading commit data...
StringDivergenceTester_viewConfiguration.xml Loading commit data...
TargetSolver_view.xml Loading commit data...
TesterType_view.xml Loading commit data...
Tester_view.xml Loading commit data...
VariationDivergenceTester_viewConfiguration.xml Loading commit data...