Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037709 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2018-01-24 13:08 | 2018-02-27 18:09 | |||
Reporter | umartirena | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0f99b7342101 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037709: Offline login is not working if "Enable Remote for Customer" preference is active | |||||||
Description | Offline login is not working if "Enable Remote for Customer" preference is active | |||||||
Steps To Reproduce | In http://livebuilds.openbravo.com/retail_pi_pgsql: [^] [^] * Go to Preference window and create a new preference: - "Enable Remote for Customer" - Value = Y - Selected = Y Logout and login in http://livebuilds.openbravo.com/retail_pi_pgsql [^] [^] * Disconnect network to go offline * Logout * Try to login * An error appears and login is not possible: "Error getting Business Partner information: ...." * Click on Reload. * Try to login again. * Another error appears and login is not possible: "Error: A complete login has not been done yet but the application is trying to login offline..." | |||||||
Proposed Solution | There are 2 points to research at: 1. Remote models, empty their local table when we do a logout. For Customer model we shouldn't remove default BP for this terminal. 2. In login process, we do a check to ensure that all models have done an initial data load(checking the load timestamp). This validation should not be done for remote models. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0102202) hgbot (developer) 2018-02-06 09:38 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 9ebb2f029cf7b1da837ddec9bb73fc4b8b022481 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Feb 06 14:07:42 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9ebb2f029cf7b1da837ddec9bb73fc4b8b022481 [^] Related to issue 37709 : Remote model should not be removed while logout --- M web/org.openbravo.mobile.core/source/data/ob-dal.js M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0102203) hgbot (developer) 2018-02-06 09:38 |
Repository: tools/automation/pi-mobile Changeset: bb6ada5d290e7793b21f708133bd3af65135642e Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Feb 06 14:07:53 2018 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/bb6ada5d290e7793b21f708133bd3af65135642e [^] Verifies issue 37709 : Added automated test 'I37709_VerifyCustomerOnReload' --- M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I37600_VerifyNewCustomerReceipt.java A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I37709_VerifyCustomerOnReload.java A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I37709_VerfiyRemoteProductWithDiffPrice.java --- |
(0102244) ranjith_qualiantech_com (viewer) 2018-02-07 12:23 |
Issue still persists with steps to reproduce |
(0102315) hgbot (developer) 2018-02-12 08:06 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 08529ed93a2da15dd26fd9a4522114e7f19ea665 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Mon Feb 12 12:36:07 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/08529ed93a2da15dd26fd9a4522114e7f19ea665 [^] Fixed issue 37709 : Model should be check in local if the remote connection fails on pos load --- M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js --- |
(0102318) hgbot (developer) 2018-02-12 09:08 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 4ba4146caaad3b7f74bd375c0bb52e63dc1ce12a Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Mon Feb 12 13:35:20 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4ba4146caaad3b7f74bd375c0bb52e63dc1ce12a [^] Related to issue 37709 : Fixed JSlint error --- M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js --- |
(0102439) marvintm (viewer) 2018-02-15 16:27 |
After the inclusion of the checkBPInLocal function, the business partner can be found even if we are in remote mode because the default business partner exists in the terminal object. However, now we have a similar problem in the dataBps.loadBPLocations call. This function never finishes because the remote request to find the addresses fails, and therefore the login process in offline is blocked in this configuration. This needs to be fixed. |
(0102473) hgbot (developer) 2018-02-17 07:05 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 6f37b72bb57f8ac4a33577efb1131f4f25c61e19 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Sat Feb 17 11:35:29 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6f37b72bb57f8ac4a33577efb1131f4f25c61e19 [^] Related to issue 37709 : Added Local param to OB.Dal.find to force check in local db instead of remote --- M web/org.openbravo.mobile.core/source/data/ob-dal.js --- |
(0102474) hgbot (developer) 2018-02-17 07:05 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 0f99b7342101be0d185deffae7bf4224c4bf57a2 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Sat Feb 17 11:35:37 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0f99b7342101be0d185deffae7bf4224c4bf57a2 [^] Fixed issue 37709 : Location Model should be check in local if the remote connection fails on pos load --- M web/org.openbravo.retail.posterminal/js/model/businesspartner.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-01-24 13:08 | umartirena | New Issue | |
2018-01-24 13:08 | umartirena | Assigned To | => Retail |
2018-01-24 13:08 | umartirena | OBNetwork customer | => No |
2018-01-24 13:08 | umartirena | Triggers an Emergency Pack | => No |
2018-01-24 13:18 | umartirena | Steps to Reproduce Updated | View Revisions |
2018-01-24 13:18 | umartirena | File Added: Selection_125.png | |
2018-01-24 13:18 | umartirena | File Added: Selection_126.png | |
2018-01-24 13:28 | migueldejuana | Proposed Solution updated | |
2018-01-24 14:30 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-01-24 14:33 | ranjith_qualiantech_com | Status | new => scheduled |
2018-01-25 16:41 | ranjith_qualiantech_com | File Added: issue 37709 soure mobilecore.patch | |
2018-01-25 18:43 | egoitz | Issue Monitored: egoitz | |
2018-01-31 11:05 | ranjith_qualiantech_com | Relationship added | related to 0037726 |
2018-02-02 11:43 | ranjith_qualiantech_com | File Deleted: issue 37709 soure mobilecore.patch | |
2018-02-02 11:48 | ranjith_qualiantech_com | File Added: issue 37709 soure mobilecore.patch | |
2018-02-02 11:49 | ranjith_qualiantech_com | File Added: issue 37709 soure test.patch | |
2018-02-06 06:54 | ranjith_qualiantech_com | File Deleted: issue 37709 soure mobilecore.patch | |
2018-02-06 06:54 | ranjith_qualiantech_com | File Deleted: issue 37709 soure test.patch | |
2018-02-06 07:01 | ranjith_qualiantech_com | File Added: issue 37709 soure mobilecore.patch | |
2018-02-06 07:02 | ranjith_qualiantech_com | File Added: issue 37709 soure test.patch | |
2018-02-06 08:10 | ranjith_qualiantech_com | File Deleted: issue 37709 soure mobilecore.patch | |
2018-02-06 08:11 | ranjith_qualiantech_com | File Added: issue 37709 soure mobilecore.patch | |
2018-02-06 09:38 | hgbot | Checkin | |
2018-02-06 09:38 | hgbot | Note Added: 0102202 | |
2018-02-06 09:38 | hgbot | Checkin | |
2018-02-06 09:38 | hgbot | Note Added: 0102203 | |
2018-02-06 15:00 | ranjith_qualiantech_com | Status | scheduled => resolved |
2018-02-06 15:00 | ranjith_qualiantech_com | Resolution | open => fixed |
2018-02-07 12:23 | ranjith_qualiantech_com | Note Added: 0102244 | |
2018-02-07 12:23 | ranjith_qualiantech_com | Status | resolved => new |
2018-02-07 12:23 | ranjith_qualiantech_com | Resolution | fixed => open |
2018-02-12 08:06 | hgbot | Checkin | |
2018-02-12 08:06 | hgbot | Note Added: 0102315 | |
2018-02-12 08:06 | hgbot | Status | new => resolved |
2018-02-12 08:06 | hgbot | Resolution | open => fixed |
2018-02-12 08:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/08529ed93a2da15dd26fd9a4522114e7f19ea665 [^] |
2018-02-12 09:08 | hgbot | Checkin | |
2018-02-12 09:08 | hgbot | Note Added: 0102318 | |
2018-02-15 16:27 | marvintm | Note Added: 0102439 | |
2018-02-15 16:27 | marvintm | Status | resolved => new |
2018-02-15 16:27 | marvintm | Resolution | fixed => open |
2018-02-16 10:44 | ranjith_qualiantech_com | Status | new => scheduled |
2018-02-17 07:05 | hgbot | Checkin | |
2018-02-17 07:05 | hgbot | Note Added: 0102473 | |
2018-02-17 07:05 | hgbot | Checkin | |
2018-02-17 07:05 | hgbot | Note Added: 0102474 | |
2018-02-17 07:05 | hgbot | Status | scheduled => resolved |
2018-02-17 07:05 | hgbot | Resolution | open => fixed |
2018-02-17 07:05 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/08529ed93a2da15dd26fd9a4522114e7f19ea665 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0f99b7342101be0d185deffae7bf4224c4bf57a2 [^] |
2018-02-27 18:09 | marvintm | Review Assigned To | => marvintm |
2018-02-27 18:09 | marvintm | Status | resolved => closed |
2018-02-27 18:09 | marvintm | Fixed in Version | => RR18Q2 |
Copyright © 2000 - 2009 MantisBT Group |