Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039774 | Retail Modules | Web POS | public | 2018-12-10 14:04 | 2019-01-08 10:12 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0039774: ExternalOrderLoader should establish the context according to the POS Terminal specified in the request |
Description | Currently the ExternalOrderLoader is establishing the context according to the default organization and default role of the specified user. This behaviour means that it is not possible to use the same user for requests to terminals belonging to different clients, or even different organizations if the assortment is not commonly accesible by all of them.
Instead, the context should be established according to the same rules of the POSLoginHandler, so the current client and organization should be the ones to which the specified POS Terminal belongs to. |
Steps To Reproduce | Configure different clients (or organizations), and create terminals for each of them.
Execute ExternalOrderLoader requests to both terminals.
Verify that the context is set according to the user, which means that the client/organization is not properly set when the terminal specified belongs to a client/organization. |
Proposed Solution | - ExternalOrderLoader should first validate that the specified user has access to the client and org of the specified POS Terminal (same validation currently done in the POSLoginHandler)
- If it has, then the context should be reset to this client/org, before executing the rest of the process |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0039813 | | closed | ranjith_qualiantech_com | ExternalOrderLoader DefaultDataResolver does not filter by client id | related to | defect | 0033307 | | closed | guilleaer | Unable to do login in POS Terminal with one user with two distinct roles | related to | defect | 0039879 | | closed | rqueralta | ExternalOrderLoader should search entities based on POS Terminal Org instead of user readable orgs |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-12-10 14:04 | marvintm | New Issue | |
2018-12-10 14:04 | marvintm | Assigned To | => Retail |
2018-12-10 14:04 | marvintm | Resolution time | => 1545606000 |
2018-12-10 14:04 | marvintm | Triggers an Emergency Pack | => No |
2018-12-10 14:09 | rafaroda | Issue Monitored: rafaroda | |
2018-12-10 15:28 | javierRodriguez | Assigned To | Retail => javierRodriguez |
2018-12-10 15:28 | javierRodriguez | Status | new => scheduled |
2018-12-14 15:25 | hgbot | Checkin | |
2018-12-14 15:25 | hgbot | Note Added: 0108621 | |
2018-12-14 15:25 | hgbot | Status | scheduled => resolved |
2018-12-14 15:25 | hgbot | Resolution | open => fixed |
2018-12-14 15:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/997ca0fac186ef6b28884b20bd29f8720f68a76a [^] |
2018-12-14 15:25 | hgbot | Checkin | |
2018-12-14 15:25 | hgbot | Note Added: 0108622 | |
2018-12-14 15:26 | marvintm | Assigned To | javierRodriguez => marvintm |
2018-12-17 10:30 | migueldejuana | Review Assigned To | => migueldejuana |
2018-12-17 10:30 | migueldejuana | Note Added: 0108632 | |
2018-12-17 10:30 | migueldejuana | Status | resolved => closed |
2018-12-17 11:11 | rafaroda | Relationship added | related to 0039813 |
2018-12-19 10:08 | rafaroda | Relationship added | related to 0033307 |
2019-01-08 10:12 | gorkaion | Issue cloned | 0039879 |
2019-01-08 10:12 | gorkaion | Relationship added | related to 0039879 |