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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045238
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Offline Modecriticalalways2020-10-05 16:182020-10-22 08:09
Reportersebastien_lironView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityimmediateResolutionfixedFixed in VersionRR20Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR20Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q2.2SCM revision 
Review Assigned To
Regression levelProduction - Confirmed Stable
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045238: 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
TagsNo tags attached.
Attached Files

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

-  Notes
(0123830)
hgbot (developer)
2020-10-22 07:17

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/130 [^]
(0123831)
hgbot (developer)
2020-10-22 07:18

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/88 [^]
(0123834)
hgbot (developer)
2020-10-22 08:09

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 1df3082ada591c344cd6337e11103a789c05dcb3
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-20T19:06:59+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1df3082ada591c344cd6337e11103a789c05dcb3 [^]

Fixed BUG-45238: 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/actions/SynchronizeBusinessPartner.js
M web/org.openbravo.retail.posterminal/app/model/business-object/business-partner/actions/SynchronizeBusinessPartnerLocation.js
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
M web/org.openbravo.retail.posterminal/js/utils/ticketListUtils.js
---
(0123835)
hgbot (developer)
2020-10-22 08:09

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/130 [^]
(0123836)
hgbot (developer)
2020-10-22 08:09

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 1873d11f7ba115c09bae4657c464d4c13dfb8323
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-20T19:07:56+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/1873d11f7ba115c09bae4657c464d4c13dfb8323 [^]

Fixed BUG-45238: 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
---
(0123837)
hgbot (developer)
2020-10-22 08:09

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/88 [^]

- 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 => RR20Q4
2020-10-22 07:17 hgbot Note Added: 0123830
2020-10-22 07:18 hgbot Note Added: 0123831
2020-10-22 08:09 hgbot Resolution open => fixed
2020-10-22 08:09 hgbot Status scheduled => closed
2020-10-22 08:09 hgbot Fixed in Version => RR20Q4
2020-10-22 08:09 hgbot Note Added: 0123834
2020-10-22 08:09 hgbot Note Added: 0123835
2020-10-22 08:09 hgbot Note Added: 0123836
2020-10-22 08:09 hgbot Note Added: 0123837


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker