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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033419
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorsometimes2016-06-30 16:442016-08-11 08:45
Reporterjorge-garciaView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionbe7ed445aa54
ProjectionnoneETAnoneTarget VersionRR16Q3
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

0033419: 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 ]
blocks defect 0033395 closedjorge-garcia Sometimes synchronization of the syncmodels are failing when returning back from offline 

-  Notes
(0088203)
hgbot (developer)
2016-07-05 11:50

Repository: retail/backports/3.0RR16Q3/org.openbravo.retail.posterminal
Changeset: a30caba241e1b19fc022a4349c70551879b58029
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 05 11:49:55 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3/org.openbravo.retail.posterminal/rev/a30caba241e1b19fc022a4349c70551879b58029 [^]

Related to issue 33419: 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
---
(0088204)
hgbot (developer)
2016-07-05 11:51

Repository: erp/backports/3.0PR16Q3
Changeset: be7ed445aa546626d08e40d92f5826aa8013de8b
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 05 11:49:24 2016 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR16Q3/rev/be7ed445aa546626d08e40d92f5826aa8013de8b [^]

Fixed issue 33419: 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
---
(0088205)
hgbot (developer)
2016-07-05 11:51

Repository: retail/backports/3.0RR16Q3/pi-mobile
Changeset: 36d86ba82ab3882b66e25e4cf55405ca152c063c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 05 11:47:59 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3/pi-mobile/rev/36d86ba82ab3882b66e25e4cf55405ca152c063c [^]

Related to issue 33419: 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
---
(0088964)
hgbot (developer)
2016-08-11 08:45

Repository: tools/automation/pi-mobile
Changeset: 36d86ba82ab3882b66e25e4cf55405ca152c063c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 05 11:47:59 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/36d86ba82ab3882b66e25e4cf55405ca152c063c [^]

Related to issue 33419: 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
---

- Issue History
Date Modified Username Field Change
2016-07-05 09:02 jorge-garcia Type defect => backport
2016-07-05 09:02 jorge-garcia Target Version => RR16Q3
2016-07-05 11:50 hgbot Checkin
2016-07-05 11:50 hgbot Note Added: 0088203
2016-07-05 11:51 hgbot Checkin
2016-07-05 11:51 hgbot Note Added: 0088204
2016-07-05 11:51 hgbot Status scheduled => resolved
2016-07-05 11:51 hgbot Resolution open => fixed
2016-07-05 11:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q3/rev/be7ed445aa546626d08e40d92f5826aa8013de8b [^]
2016-07-05 11:51 hgbot Checkin
2016-07-05 11:51 hgbot Note Added: 0088205
2016-08-04 11:54 marvintm Review Assigned To => marvintm
2016-08-04 11:54 marvintm Status resolved => closed
2016-08-11 08:45 hgbot Checkin
2016-08-11 08:45 hgbot Note Added: 0088964


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker