Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0039045 | Retail Modules | Web POS | public | 2018-07-25 12:40 | 2018-07-25 12:40 |
| Reporter | mtaal | ||||
| Assigned To | Retail | ||||
| Priority | normal | Severity | major | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | pi | Fixed in Version | |||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| 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 | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | OBNetwork customer | => No | ||
| 2018-07-25 12:40 | mtaal | Triggers an Emergency Pack | => No | ||
| There are no notes attached to this issue. |