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

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

0045192: 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 Filespng file icon Screenshot from 2020-10-05 08-57-19.png [^] (851,869 bytes) 2020-10-05 16:18

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0045238RR20Q4 closedprakashmurugesan88 cannot open pos for offline pos in remote client mode 
depends on backport 0045239RR20Q3.2 closedprakashmurugesan88 cannot open pos for offline pos in remote client mode 
depends on backport 0045241RR20Q2.3 closedprakashmurugesan88 cannot open pos for offline pos in remote client mode 
has duplicate defect 0045842 closedranjith_qualiantech_com Confused message when the Full Refresh fails 

-  Notes
(0123741)
hgbot (developer)
2020-10-16 11:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/85 [^]
(0123742)
hgbot (developer)
2020-10-16 11:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/129 [^]
(0123758)
hgbot (developer)
2020-10-19 07:48

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 2f8de569c49d6f69d137e2738154a597b9eee4c5
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-19T05:48:07+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/2f8de569c49d6f69d137e2738154a597b9eee4c5 [^]

Fixed BUG-45192: 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
---
(0123759)
hgbot (developer)
2020-10-19 07:48

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/85 [^]
(0123760)
hgbot (developer)
2020-10-19 07:48

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 43d439db783dcabad7a2685333d7779d58bd87ac
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-16T12:18:35+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/43d439db783dcabad7a2685333d7779d58bd87ac [^]

Fixed BUG-45192: 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
---
(0123761)
hgbot (developer)
2020-10-19 07:48

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

- Issue History
Date Modified Username Field Change
2020-10-05 16:18 sebastien_liron New Issue
2020-10-05 16:18 sebastien_liron Assigned To => Retail
2020-10-05 16:18 sebastien_liron File Added: Screenshot from 2020-10-05 08-57-19.png
2020-10-05 16:18 sebastien_liron Resolution time => 1602712800
2020-10-05 16:18 sebastien_liron Regression level => Production - Confirmed Stable
2020-10-05 16:18 sebastien_liron Triggers an Emergency Pack => No
2020-10-12 11:10 prakashmurugesan88 Assigned To Retail => prakashmurugesan88
2020-10-12 11:10 prakashmurugesan88 Status new => scheduled
2020-10-16 11:06 hgbot Note Added: 0123741
2020-10-16 11:06 hgbot Note Added: 0123742
2020-10-19 07:47 marvintm Status scheduled => acknowledged
2020-10-19 07:47 marvintm Status acknowledged => scheduled
2020-10-19 07:48 hgbot Resolution open => fixed
2020-10-19 07:48 hgbot Status scheduled => closed
2020-10-19 07:48 hgbot Fixed in Version => RR21Q1
2020-10-19 07:48 hgbot Note Added: 0123758
2020-10-19 07:48 hgbot Note Added: 0123759
2020-10-19 07:48 hgbot Note Added: 0123760
2020-10-19 07:48 hgbot Note Added: 0123761
2020-10-19 08:51 marvintm Status closed => new
2020-10-19 08:51 marvintm Resolution fixed => open
2020-10-19 08:51 marvintm Fixed in Version RR21Q1 =>
2020-10-19 08:51 marvintm Status new => scheduled
2020-10-19 08:51 marvintm Status scheduled => resolved
2020-10-19 08:51 marvintm Fixed in Version => RR21Q1
2020-10-19 08:51 marvintm Resolution open => fixed
2020-10-19 08:51 marvintm Review Assigned To => marvintm
2020-10-19 08:51 marvintm Status resolved => closed
2020-12-04 12:35 rafaroda Tag Attached: NOR
2020-12-04 12:40 rafaroda Tag Detached: NOR
2021-02-12 02:18 ranjith_qualiantech_com Relationship added related to 0045842
2021-02-12 07:58 marvintm Relationship replaced has duplicate 0045842


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker