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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032332
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2016-02-24 20:142016-03-09 16:12
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision332f1b6a8261
ProjectionnoneETAnoneTarget VersionRR16Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032332: Tickets not included in cashup if cashup was done offline

DescriptionIn certain circumstances, if tickets are created while being offline, and then a cashup is done also while being offline, then the cashup may be processed before all tickets have been processed. In this case, the tickets will not be invoiced, and their payments will be missing in the cashup reconciliation.
Steps To ReproduceThis issue is very easy to reproduce in 15Q3, but it's much harder to reproduce in 15Q4 or 16Q1, although it's still theoretically possible to face it there.

The steps to reproduce are the following:
- Log in the Web POS. Go offline.
- Create five or more tickets.
- Do the cashup.
- Go back online. Log in again.
- Verify that the tickets have been synchronized, and the cashup is processed. However, all tickets except the first one will not be invoiced, and their payments will not be reconciled.
Proposed SolutionThe cause of the problem is that the synchronization tasks in the backend are not processing correctly entries which contain more than one record in the JSON. In this case, the import entry should be marked as processed only when all the records have been processed, and currently this is not the case (the entry is marked as processed as soon as the first record is processed).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0032331 closedmarvintm Tickets not included in cashup if cashup was done offline 

-  Notes
(0084606)
hgbot (developer)
2016-02-29 17:34

Repository: erp/backports/3.0PR16Q1
Changeset: fa3cf2f87496d85df40bfcf8d6361f8196f1a64b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 29 17:34:08 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/fa3cf2f87496d85df40bfcf8d6361f8196f1a64b [^]

Fixed issue 32332. Added method to check if importentry has status 'Error'

---
M modules/org.openbravo.client.kernel/jslint/jscheck
M modules/org.openbravo.client.kernel/jslint/jslint
M src/org/openbravo/service/importprocess/ImportEntryManager.java
---
(0084607)
hgbot (developer)
2016-02-29 17:41

Repository: retail/backports/3.0RR16Q1/org.openbravo.mobile.core
Changeset: 332f1b6a82610ef3fa0fda65fae92332bd2fdff0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 29 17:40:43 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.mobile.core/rev/332f1b6a82610ef3fa0fda65fae92332bd2fdff0 [^]

Fixed issue 32332. Prevent early update to the Import Entry record:
Before this change, if a request to the DataSynchronizationProcess contained more than one record, the Import Entry record was updated after the first one instead of being updated after the last one.

---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
---
(0084849)
hgbot (developer)
2016-03-09 16:12

Repository: erp/backports/3.0PR16Q1
Changeset: 0778229579650923353b8567993a3473da13b260
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Wed Mar 09 16:11:53 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/0778229579650923353b8567993a3473da13b260 [^]

Related to issue 32332. Removed wrong part of the diff.

---
M modules/org.openbravo.client.kernel/jslint/jscheck
M modules/org.openbravo.client.kernel/jslint/jslint
---

- Issue History
Date Modified Username Field Change
2016-02-24 20:14 marvintm Type defect => backport
2016-02-24 20:14 marvintm Target Version => RR16Q1
2016-02-29 17:34 hgbot Checkin
2016-02-29 17:34 hgbot Note Added: 0084606
2016-02-29 17:34 hgbot Status scheduled => resolved
2016-02-29 17:34 hgbot Resolution open => fixed
2016-02-29 17:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/fa3cf2f87496d85df40bfcf8d6361f8196f1a64b [^]
2016-02-29 17:41 hgbot Checkin
2016-02-29 17:41 hgbot Note Added: 0084607
2016-02-29 17:41 hgbot Fixed in SCM revision http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/fa3cf2f87496d85df40bfcf8d6361f8196f1a64b [^] => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.mobile.core/rev/332f1b6a82610ef3fa0fda65fae92332bd2fdff0 [^]
2016-03-04 18:42 Orekaria Review Assigned To => Orekaria
2016-03-04 18:42 Orekaria Status resolved => closed
2016-03-04 18:42 Orekaria Fixed in Version => RR16Q1
2016-03-09 16:12 hgbot Checkin
2016-03-09 16:12 hgbot Note Added: 0084849


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker