Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051467
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajorhave not tried2023-01-26 15:062023-02-26 21:47
ReporterAugustoMauchView Statuspublic 
Assigned Togdagnesses 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051467: We should prevent the concurrent execution of state actions

DescriptionState 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-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0146037)
hgbot (developer)
2023-01-30 15:43

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/464 [^]
(0146132)
hgbot (developer)
2023-02-01 16:13

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/973 [^]
(0146135)
hgbot (developer)
2023-02-01 16:32

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/973 [^]
(0147000)
hgbot (developer)
2023-02-26 21:47

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/464 [^]

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker