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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039045
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSmajorhave not tried2018-07-25 12:402018-07-25 12:40
ReportermtaalView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
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

0039045: DataSynchronizationProcess commits the work and related import entry in different transactions

DescriptionThe 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 ReproduceSet 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 SolutionCombine the commits/set processed in one transaction
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker