Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032380 | Retail Modules | Web POS | public | 2016-03-01 12:12 | 2016-03-14 13:32 |
|
Reporter | agete | |
Assigned To | jorge-garcia | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR16Q2 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0032380: [SERQA 757] POS blocked when accesing with an url with // |
Description | Accessing to the Web POS with the following address (double // before retail....) the login page appears but when accesing it seems to be blocked, no message appears.
https://livebuilds.openbravo.com//retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#login [^] |
Steps To Reproduce | 1- Add the following url to the browser:
https://livebuilds.openbravo.com//retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#login [^]
2- Select a user and log in
3- realize it gets blocked |
Proposed Solution | Add an error message indicating url is wrong |
Additional Information | |
Tags | SER-QA |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-03-01 12:12 | agete | New Issue | |
2016-03-01 12:12 | agete | Assigned To | => Retail |
2016-03-01 12:12 | agete | OBNetwork customer | => Yes |
2016-03-01 12:12 | agete | Resolution time | => 1457996400 |
2016-03-01 12:12 | agete | Triggers an Emergency Pack | => No |
2016-03-01 12:12 | agete | Tag Attached: SER-QA | |
2016-03-01 15:37 | Orekaria | Status | new => acknowledged |
2016-03-08 15:55 | jorge-garcia | Status | acknowledged => scheduled |
2016-03-08 15:55 | jorge-garcia | Assigned To | Retail => jorge-garcia |
2016-03-11 12:22 | hgbot | Checkin | |
2016-03-11 12:22 | hgbot | Note Added: 0084910 | |
2016-03-11 12:22 | hgbot | Status | scheduled => resolved |
2016-03-11 12:22 | hgbot | Resolution | open => fixed |
2016-03-11 12:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5e59ade8aeecb019bc1f55e437a42922e06c83f5 [^] |
2016-03-11 12:23 | hgbot | Checkin | |
2016-03-11 12:23 | hgbot | Note Added: 0084911 | |
2016-03-11 15:41 | marvintm | Review Assigned To | => marvintm |
2016-03-11 15:41 | marvintm | Status | resolved => closed |
2016-03-11 15:41 | marvintm | Fixed in Version | => RR16Q2 |
2016-03-11 21:50 | Orekaria | Note Added: 0084925 | |
2016-03-11 21:50 | Orekaria | Status | closed => new |
2016-03-11 21:50 | Orekaria | Resolution | fixed => open |
2016-03-11 21:50 | Orekaria | Fixed in Version | RR16Q2 => |
2016-03-11 21:51 | Orekaria | Status | new => scheduled |
2016-03-14 12:02 | hgbot | Checkin | |
2016-03-14 12:02 | hgbot | Note Added: 0084946 | |
2016-03-14 12:03 | jorge-garcia | Status | scheduled => resolved |
2016-03-14 12:03 | jorge-garcia | Resolution | open => fixed |
2016-03-14 13:32 | marvintm | Status | resolved => closed |
2016-03-14 13:32 | marvintm | Fixed in Version | => RR16Q2 |
Notes |
|
(0084910)
|
hgbot
|
2016-03-11 12:22
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5e59ade8aeecb019bc1f55e437a42922e06c83f5
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Mar 09 11:46:31 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5e59ade8aeecb019bc1f55e437a42922e06c83f5 [^]
Fixed issue 32380: [SERQA 757] POS blocked when accesing with an url with //
The solution is to parse the URL before do anything in the POS. If the url
suffers any change, the browser navigates to the parsed url and a console
warning is raised.
---
M web/org.openbravo.mobile.core/source/utils/ob-debug.js
---
|
|
|
(0084911)
|
hgbot
|
2016-03-11 12:23
|
|
Repository: tools/automation/pi-mobile
Changeset: 382970e798cdab06b3ef52f8fad3058d581962db
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Mar 11 12:19:18 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/382970e798cdab06b3ef52f8fad3058d581962db [^]
Verifies issue 32380: [SERQA 757] POS blocked when accesing with an url with //
Added test I32380_MalformedPOSUrlParsing.
---
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/system/I32380_MalformedPOSUrlParsing.java
---
|
|
|
(0084925)
|
Orekaria
|
2016-03-11 21:50
|
|
The ob-debug file must contain only debug related things
Move the function to a better place or create its own file |
|
|
(0084946)
|
hgbot
|
2016-03-14 12:02
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d4d894a92cc64bfb5817817c14fecb81990c680c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Mar 14 10:07:23 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d4d894a92cc64bfb5817817c14fecb81990c680c [^]
Related to issue 32380: [SERQA 757] POS blocked when accesing with an url with //
The function that checks if the url is correct, has been set in the ob-checks.js
This code is set at the begginning of the generated javascript.
---
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web/org.openbravo.mobile.core/source/utils/ob-debug.js
A web/org.openbravo.mobile.core/source/utils/ob-check.js
---
|
|