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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045239
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Offline Modecriticalalways2020-10-05 16:182020-12-04 12:40
Reportersebastien_lironView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityimmediateResolutionfixedFixed in VersionRR20Q3.2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR20Q3.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q2.2SCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerGold
Support ticket
Regression levelProduction - Confirmed Stable
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045239: cannot open pos for offline pos in remote client mode

DescriptionStore is running on 20q2 pos, with remote client mode ( set by preferences ).

At some point ( after a delog or after an auto synch), we have a message while refreshing local data that BP info is missing, making it impossible to load the rest ( and to open the pos ), screenshot is attached for reference.
Steps To ReproduceI just tried a scenario like this on 20q2 standard :

- set the client remote mode ( Enable Remote for Customer to Y )
- load the pos and do a sale
- disconnect internet ( I unplugged the cable )
- delog / relog ( as vallblanca )
- see the message
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0045192RR20Q2.2 closedprakashmurugesan88 cannot open pos for offline pos in remote client mode 

-  Notes
(0123832)
hgbot (developer)
2020-10-22 07:38

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/89 [^]
(0123833)
hgbot (developer)
2020-10-22 07:38

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/131 [^]
(0123838)
hgbot (developer)
2020-10-22 08:10

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 2e17ae0c6bb1355bf167de7e312ad31ce561f431
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-20T13:47:44+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/2e17ae0c6bb1355bf167de7e312ad31ce561f431 [^]

Fixed BUG-45239: Fixed POS loading issue in offline mode with remote for customer is set to Y
* Currently in remote mode data is not allowed to save in local(IndexedDB)
* But it is necessary to save BP and BPLocation locally to support offline
* So included a flag forceLocalSave
* Fetching(get) from indexedDB using id return object instead of array
* Therefore result is handled directly instead if it is not array

---
M web/org.openbravo.mobile.core/app/model/synchronization-buffer/MasterdataEndpoint.js
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0123839)
hgbot (developer)
2020-10-22 08:10

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/89 [^]
(0123840)
hgbot (developer)
2020-10-22 08:10

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ce603219660bd978a0ea4cdba27bc71b9c17d6aa
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-20T17:13:17+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ce603219660bd978a0ea4cdba27bc71b9c17d6aa [^]

Fixed BUG-45239: Fixed POS loading issue in offline mode with remote for customer is set to Y
* With remote for customer Y, when the POS tries to load in offline mode it fetches BP and BPLocation from local(Indexed DB)
* But these data are not saved to local but it works with WEBSQL
* Fixed by saving BP and BPLocation to local in following scenarios
* OnLoadingEmptyReceipt, OnCreatingNewReceipt, OnDeletingReceipt, OnOpeningReceipt
* Therefore data will be available in local and webpos can be reloaded in offline.

---
M web/org.openbravo.retail.posterminal/app/model/business-object/business-partner/SynchronizeBusinessPartner.js
M web/org.openbravo.retail.posterminal/app/model/business-object/business-partner/SynchronizeBusinessPartnerLocation.js
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0123841)
hgbot (developer)
2020-10-22 08:10

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/131 [^]

- Issue History
Date Modified Username Field Change
2020-10-19 07:47 marvintm Type defect => backport
2020-10-19 07:47 marvintm Target Version RR20Q2.2 => RR20Q3.2
2020-10-22 07:38 hgbot Note Added: 0123832
2020-10-22 07:38 hgbot Note Added: 0123833
2020-10-22 08:10 hgbot Merge Request Status open => approved
2020-10-22 08:10 hgbot Resolution open => fixed
2020-10-22 08:10 hgbot Status scheduled => closed
2020-10-22 08:10 hgbot Fixed in Version => RR20Q3.2
2020-10-22 08:10 hgbot Note Added: 0123838
2020-10-22 08:10 hgbot Note Added: 0123839
2020-10-22 08:10 hgbot Note Added: 0123840
2020-10-22 08:10 hgbot Note Added: 0123841
2020-12-04 12:40 rafaroda Tag Attached: NOR


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker