Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0045192 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Retail Modules] Offline Mode | critical | always | 2020-10-05 16:18 | 2020-12-04 12:40 | |||
| Reporter | sebastien_liron | View Status | public | |||||
| Assigned To | prakashmurugesan88 | |||||||
| Priority | immediate | Resolution | fixed | Fixed in Version | RR21Q1 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | RR20Q2.2 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | RR20Q2.2 | SCM revision | ||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | marvintm | |||||||
| OBNetwork customer | Gold | |||||||
| Support ticket | ||||||||
| Regression level | Production - Confirmed Stable | |||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0045192: cannot open pos for offline pos in remote client mode | |||||||
| Description | Store 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 Reproduce | I 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 | |||||||
| Tags | No tags attached. | |||||||
| Attached Files |  Screenshot from 2020-10-05 08-57-19.png [^] (851,869 bytes) 2020-10-05 16:18 | |||||||
|  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] | |||||||||||||||||||||||||||||
| 
 | |||||||||||||||||||||||||||||
|  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 | OBNetwork customer | => Gold | 
| 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 | Merge Request Status | => open | 
| 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 | Merge Request Status | open => approved | 
| 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 |