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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033395
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2016-06-30 16:442016-08-11 18:40
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6e74d1707a90
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033395: Sometimes synchronization of the syncmodels are failing when returning back from offline

DescriptionIt's failing sometimes in oracle
Steps To ReproduceUsing an environment with oracle.
1) Login online to the WEBPOS
2) Do a cashup. Wait to the synchronization.
2) Go offline
3) Create several order and do a cashup
4) Go online.
Sometimes, the synchronization process fails. This error is shown in tomcat:
2 Errors in the OBPOS_Errors table while importing POS data: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
TYPE --> OBPOS_App_Cashup
ERROR -->
org.openbravo.base.exception.OBException: The cashup is processed, and it can not be set as unprocessed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0033419RR16Q3 closedRetail Sometimes synchronization of the syncmodels are failing when returning back from offline 
depends on backport 0033420RR16Q2.1 closedjorge-garcia Sometimes synchronization of the syncmodels are failing when returning back from offline 

-  Notes
(0088113)
hgbot (developer)
2016-06-30 18:16

Repository: tools/automation/pi-mobile
Changeset: 0455e3fdfa3b71bbb8e3110f6392d606f3771e86
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jun 30 18:15:28 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0455e3fdfa3b71bbb8e3110f6392d606f3771e86 [^]

Related to issue 33395: Sometimes synchronization of the
syncmodels are failing when returning back from offline

Deactivate tests:
* LoginOnlineAllowedFlows
* LoginOnlineAllowedFlowsWait

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineAllowedFlows.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineAllowedFlowsWait.java
---
(0088183)
hgbot (developer)
2016-07-05 09:21

Repository: erp/devel/pi
Changeset: 6e74d1707a90b4f40fd57f1fd7a7755393941543
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 05 09:19:11 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6e74d1707a90b4f40fd57f1fd7a7755393941543 [^]

Fixed issue 33395: Sometimes synchronization of the syncmodels are failing
when returning back from offline

Added a new column in c_import_entry table wich contains the timestamp in
miliseconds of the import entry.

With this new value, the import entry records are filtered.

---
M src-db/database/model/tables/C_IMPORT_ENTRY.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src/org/openbravo/service/importprocess/ImportEntryManager.java
---
(0088184)
hgbot (developer)
2016-07-05 09:22

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 46abbcac55752a2ba12b538d5f9540b48c3ea895
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 05 09:15:21 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/46abbcac55752a2ba12b538d5f9540b48c3ea895 [^]

Related to issue 33395: Sometimes synchronization of the syncmodels are failing
when returning back from offline

Change SynchModels to use the new timestamp column.

---
M src/org/openbravo/retail/posterminal/importprocess/CashManagementImportEntryProcessor.java
M src/org/openbravo/retail/posterminal/importprocess/CashUpImportEntryProcessor.java
M src/org/openbravo/retail/posterminal/importprocess/OrderImportEntryProcessor.java
M src/org/openbravo/retail/posterminal/importprocess/VoidLayawayEntryProcessor.java
---
(0088185)
hgbot (developer)
2016-07-05 09:23

Repository: tools/automation/pi-mobile
Changeset: 077c7ab774dbd084ac0aa0438512f698b2ab0b9f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 05 09:14:19 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/077c7ab774dbd084ac0aa0438512f698b2ab0b9f [^]

Related to issue 33395: Sometimes synchronization of the syncmodels are failing
when returning back from offline

Reactivate offline tests:
* LoginOnlineAllowedFlows
* LoginOnlineAllowedFlowsWait

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineAllowedFlows.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineAllowedFlowsWait.java
---
(0088987)
hudsonbot (developer)
2016-08-11 18:40

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/edaa05b1fb18 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-06-30 16:44 jorge-garcia New Issue
2016-06-30 16:44 jorge-garcia Assigned To => Retail
2016-06-30 16:44 jorge-garcia Triggers an Emergency Pack => No
2016-06-30 18:16 hgbot Checkin
2016-06-30 18:16 hgbot Note Added: 0088113
2016-07-05 09:02 jorge-garcia Status new => scheduled
2016-07-05 09:02 jorge-garcia Assigned To Retail => jorge-garcia
2016-07-05 09:21 hgbot Checkin
2016-07-05 09:21 hgbot Note Added: 0088183
2016-07-05 09:21 hgbot Status scheduled => resolved
2016-07-05 09:21 hgbot Resolution open => fixed
2016-07-05 09:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6e74d1707a90b4f40fd57f1fd7a7755393941543 [^]
2016-07-05 09:22 hgbot Checkin
2016-07-05 09:22 hgbot Note Added: 0088184
2016-07-05 09:23 hgbot Checkin
2016-07-05 09:23 hgbot Note Added: 0088185
2016-07-06 09:22 marvintm Review Assigned To => marvintm
2016-07-06 09:22 marvintm Status resolved => closed
2016-08-11 18:40 hudsonbot Checkin
2016-08-11 18:40 hudsonbot Note Added: 0088987


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker