Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0039045 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [Retail Modules] Web POS | major | have not tried | 2018-07-25 12:40 | 2018-07-25 12:40 | |||||||
Reporter | mtaal | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | pi | |||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039045: DataSynchronizationProcess commits the work and related import entry in different transactions | |||||||||||
Description | The DataSynchronizationProcess does a commit of the work first [1] and then sets the related importentry to processed [2] in a separate transaction. If the server is stopped/blocked/error in between the import entry will remain at initial status and will be reprocessed. [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java#l224 [^] [2] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java#l277 [^] | |||||||||||
Steps To Reproduce | Set a breakpoint at the commit Do a cashup Step over the commit Stop the server Restart Import entry is reprocessed but as the cashup was already processed an error is set in obpos_errors | |||||||||||
Proposed Solution | Combine the commits/set processed in one transaction | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2018-07-25 12:40 | mtaal | New Issue | |
2018-07-25 12:40 | mtaal | Assigned To | => Retail |
2018-07-25 12:40 | mtaal | Triggers an Emergency Pack | => No |
Copyright © 2000 - 2009 MantisBT Group |