Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051467 | Retail Modules | Web POS | public | 2023-01-26 15:06 | 2023-02-26 21:47 |
|
Reporter | AugustoMauch | |
Assigned To | gdagnesses | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | scheduled | Resolution | open | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0051467: We should prevent the concurrent execution of state actions |
Description | State actions are that actions that when executed, they update the state of the application. We never want to allow state actions to be executed in parallel, because the resulting state would not be deterministic and would depend on race conditions.
This [1] is the file in charge of managing state actions and this [2] is the action invoked when a state action is executed. When executing that function, we should first check if another state action is currently being executed and if so, cancel the incoming state action and write an error message in the log.
[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/master/web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js [^]
[2] https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/master/web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js#L37 [^] |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-01-26 15:06 | AugustoMauch | New Issue | |
2023-01-26 15:06 | AugustoMauch | Assigned To | => gdagnesses |
2023-01-26 15:06 | AugustoMauch | Triggers an Emergency Pack | => No |
2023-01-26 15:07 | AugustoMauch | Status | new => scheduled |
2023-01-30 15:43 | hgbot | Note Added: 0146037 | |
2023-02-01 16:13 | hgbot | Note Added: 0146132 | |
2023-02-01 16:32 | hgbot | Note Added: 0146135 | |
2023-02-26 21:47 | hgbot | Note Added: 0147000 | |