Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033481 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | minor | have not tried | 2016-07-14 11:55 | 2016-11-20 16:03 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 00f12c409463 | ||||
Projection | none | ETA | none | Target Version | RR16Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033481: Allow using different ip-address/hostname from browser than defined in the mobile server | |||||||
Description | Currently we use the url of the browser page to detect to which store server the user is connecting. We should use a different approach as the mobile server definition may use an external ip-address of a store while the webpos systems connect to an internal ip-address. | |||||||
Steps To Reproduce | configure multiserver http://wiki.openbravo.com/wiki/How_to_Setup_MultiServer_Dev_Environment#Setting_up_multiple_hostnames_for_localhost [^] define a store with a url: store1.openbravo.com running on localhost go to webpos using hostname 127.0.0.1 | |||||||
Proposed Solution | in the webposclient use a different way to find the current server of a user | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0088634) hgbot (developer) 2016-07-22 12:58 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: df83f68b8436bcb08658f70838d4f44559769ca1 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Fri Jul 22 12:57:37 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df83f68b8436bcb08658f70838d4f44559769ca1 [^] Fixes issue 33481: Allow using different ip-address/hostname from browser than defined in the mobile server In the login servlet when reading the servers and creating server json explicitly flag the current server. --- M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java --- |
(0088636) hgbot (developer) 2016-07-22 13:03 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 9efbb43c5d5ddf42cd574a60fabd3a62dfe19fc8 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Fri Jul 22 13:01:51 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9efbb43c5d5ddf42cd574a60fabd3a62dfe19fc8 [^] Related to issue 33481: Allow using different ip-address/hostname from browser than defined in the mobile server Change ob-requestrouter to use the new currentServer flag which is set by the server when creating the mobile server json MobileCoreLoginUtilsServlet: nicer to use a constant ob-requestrouter: use the currentServer flag set when reading the mobile servers from the server, maintain default behavior if no current server could be determined directly using the store organization --- M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js --- |
(0089087) migueldejuana (viewer) 2016-08-12 12:56 |
we have currentServer and isCurrentServer. It is a bit confusing |
(0089102) hgbot (developer) 2016-08-15 22:50 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 00f12c409463504357a3ed4604967dfffaa8636f Author: Martin Taal <martin.taal <at> openbravo.com> Date: Mon Aug 15 22:49:55 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/00f12c409463504357a3ed4604967dfffaa8636f [^] Fixes issue 33481: Allow using different ip-address/hostname from browser than defined in the mobile server Renamed isCurrentServer to currentServer --- M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js --- |
(0089197) migueldejuana (viewer) 2016-08-18 08:43 |
Tested and reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2016-07-14 11:55 | mtaal | New Issue | |
2016-07-14 11:55 | mtaal | Assigned To | => mtaal |
2016-07-14 11:55 | mtaal | OBNetwork customer | => No |
2016-07-14 11:55 | mtaal | Triggers an Emergency Pack | => No |
2016-07-22 12:58 | hgbot | Checkin | |
2016-07-22 12:58 | hgbot | Note Added: 0088634 | |
2016-07-22 12:58 | hgbot | Status | new => resolved |
2016-07-22 12:58 | hgbot | Resolution | open => fixed |
2016-07-22 12:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df83f68b8436bcb08658f70838d4f44559769ca1 [^] |
2016-07-22 13:03 | hgbot | Checkin | |
2016-07-22 13:03 | hgbot | Note Added: 0088636 | |
2016-07-24 16:17 | mtaal | Review Assigned To | => migueldejuana |
2016-08-12 12:56 | migueldejuana | Note Added: 0089087 | |
2016-08-12 12:56 | migueldejuana | Status | resolved => new |
2016-08-12 12:56 | migueldejuana | Resolution | fixed => open |
2016-08-15 22:50 | hgbot | Checkin | |
2016-08-15 22:50 | hgbot | Note Added: 0089102 | |
2016-08-15 22:50 | hgbot | Status | new => resolved |
2016-08-15 22:50 | hgbot | Resolution | open => fixed |
2016-08-15 22:50 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df83f68b8436bcb08658f70838d4f44559769ca1 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/00f12c409463504357a3ed4604967dfffaa8636f [^] |
2016-08-18 08:43 | migueldejuana | Note Added: 0089197 | |
2016-08-18 08:43 | migueldejuana | Status | resolved => closed |
2016-11-20 16:03 | mtaal | File Added: 33481-q33.diff |
Copyright © 2000 - 2009 MantisBT Group |