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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040336
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POScriticalalways2019-03-07 12:352019-05-02 15:17
ReportermalsasuaView Statuspublic 
Assigned TojavierRodriguez 
PriorityurgentResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revisiond8e541e26400
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

0040336: sales orders are missing when environment is updated from 17Q3 to 18Q3

Descriptionwhen there are sales orders pending to sync in the terminal, and system is updated from 17Q3 (or before) to 18Q3 (or higher), the sales orders never are synced to the backoffice.
Steps To Reproduce[POS]
. in 17Q3
. go offline
. complete Sales Order SO1 -> record is stored in message local table

. update to 18Q3
. go online
. the records in local table are deleted, but sales order SO1 is not sent to backoffice -> there is not any record in Data IMport Entry with this sales order

It seems that this problem is generated by Terminal Log functionality, as it is changing the table "message" structure (see attachments)
TagsNo tags attached.
Attached Filespng file icon MESSAGE_TABLE_17Q3.png [^] (348,096 bytes) 2019-03-07 13:04
png file icon MESSAGE_TABLE_18Q3.png [^] (355,222 bytes) 2019-03-07 13:04

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0040729RR19Q2 closedjavierRodriguez sales orders are missing when environment is updated from 17Q3 to 18Q3 
depends on backport 0040730RR19Q1.1 closedjavierRodriguez sales orders are missing when environment is updated from 17Q3 to 18Q3 
related to backport 0040484RR19Q1.1 closedrqueralta Cashup with corrupted data is synced after to update to 18Q3 
causes defect 0040852 closedjavierRodriguez Unable to login in WebPOS if it has synchronize mode and French certificate 

-  Notes
(0111297)
hgbot (developer)
2019-04-25 08:54

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d8e541e2640072aa6f992bcd1e209b68ea9cbc05
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Thu Apr 25 08:54:02 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d8e541e2640072aa6f992bcd1e209b68ea9cbc05 [^]

Fixed issue 40336: sales orders are missing when environment is updated from 17Q3 to 18Q3

Created a new function to check if there is any data to sync in message table before drop all local database

if there is something, the app will try to sync all this data. if any data failed, A pop up will be shown and it will
force to relog again.

there is also a modification in sendAllMessages function wich allow as to add a callback and also a errorcalback

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0111423)
hgbot (developer)
2019-05-02 11:21

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d8ab7ccd0c01d22c0ddbdac4534a64f437c06f38
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Thu May 02 11:21:11 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d8ab7ccd0c01d22c0ddbdac4534a64f437c06f38 [^]

Related to issue 40336

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---

- Issue History
Date Modified Username Field Change
2019-03-07 12:35 malsasua New Issue
2019-03-07 12:35 malsasua Assigned To => Retail
2019-03-07 12:35 malsasua Resolution time => 1552172400
2019-03-07 12:35 malsasua Triggers an Emergency Pack => No
2019-03-07 13:04 malsasua File Added: MESSAGE_TABLE_17Q3.png
2019-03-07 13:04 malsasua File Added: MESSAGE_TABLE_18Q3.png
2019-03-07 13:15 malsasua Steps to Reproduce Updated View Revisions
2019-03-07 16:33 rqueralta Assigned To Retail => rqueralta
2019-03-07 16:36 rqueralta Status new => scheduled
2019-03-07 23:21 rafaroda Issue Monitored: rafaroda
2019-03-12 09:33 javierRodriguez Resolution time 1552172400 =>
2019-03-12 09:33 javierRodriguez Assigned To rqueralta => javierRodriguez
2019-03-12 09:33 javierRodriguez Type defect => design defect
2019-04-23 09:03 marvintm Type design defect => defect
2019-04-25 08:54 hgbot Checkin
2019-04-25 08:54 hgbot Note Added: 0111297
2019-04-25 08:54 hgbot Status scheduled => resolved
2019-04-25 08:54 hgbot Resolution open => fixed
2019-04-25 08:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d8e541e2640072aa6f992bcd1e209b68ea9cbc05 [^]
2019-04-30 14:37 javierRodriguez Status resolved => new
2019-04-30 14:37 javierRodriguez Resolution fixed => open
2019-04-30 14:38 javierRodriguez Status new => scheduled
2019-04-30 14:38 javierRodriguez Status scheduled => resolved
2019-04-30 14:38 javierRodriguez Resolution open => fixed
2019-05-02 11:21 hgbot Checkin
2019-05-02 11:21 hgbot Note Added: 0111423
2019-05-02 15:16 marvintm Assigned To javierRodriguez => marvintm
2019-05-02 15:17 marvintm Assigned To marvintm => javierRodriguez
2019-05-02 15:17 marvintm Review Assigned To => marvintm
2019-05-02 15:17 marvintm Status resolved => closed
2019-05-02 15:17 marvintm Fixed in Version => RR19Q3
2019-05-17 18:36 dmitry_mezentsev Relationship added causes 0040852
2019-07-23 12:35 rafaroda Relationship added related to 0040484


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker