Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039879 | Retail Modules | Web POS | public | 2019-01-08 10:12 | 2019-03-12 14:38 |
|
Reporter | gorkaion | |
Assigned To | rqueralta | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR19Q2 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0039879: ExternalOrderLoader should search entities based on POS Terminal Org instead of user readable orgs |
Description | Currently when searching an entity the DataResolver is filtering by the readable orgs of the context. If the default role of the user has access to different stores it is also considering entities of other stores.
The DataResolver should filter by the natural tree of the POS Terminal organization. So only entities accessible by the POS Terminal are considered by the DataResolver. |
Steps To Reproduce | Configure different organizations, and create terminals for each of them.
Create the Promotion with the same Name to different stores.
Execute ExternalOrderLoader requests to both terminals using the promotion and a role that has access to both stores.
An error is thrown as all the promotions with the same name are found. |
Proposed Solution | DefaultDataResolver should filter by the natural tree of the POS Terminal organization instead of the readable orgs. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0039774 | | closed | marvintm | Retail Modules | ExternalOrderLoader should establish the context according to the POS Terminal specified in the request | related to | defect | 0039813 | | closed | ranjith_qualiantech_com | Retail Modules | ExternalOrderLoader DefaultDataResolver does not filter by client id | blocks | design defect | 0040591 | | closed | alostale | Openbravo ERP | deprecate OBDal getReadableClientsInClause and getReadableOrganizationsInClause |
|
Attached Files | issue39879.diff (1,612) 2019-01-08 10:46 https://issues.openbravo.com/file_download.php?file_id=12490&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2019-01-08 10:12 | gorkaion | New Issue | |
2019-01-08 10:12 | gorkaion | Assigned To | => Retail |
2019-01-08 10:12 | gorkaion | Resolution time | => 1548716400 |
2019-01-08 10:12 | gorkaion | Triggers an Emergency Pack | => No |
2019-01-08 10:12 | gorkaion | Issue generated from | 0039774 |
2019-01-08 10:12 | gorkaion | Relationship added | related to 0039774 |
2019-01-08 10:23 | rafaroda | Issue Monitored: rafaroda | |
2019-01-08 10:38 | gorkaion | File Added: issue39879.diff | |
2019-01-08 10:45 | gorkaion | File Deleted: issue39879.diff | |
2019-01-08 10:45 | gorkaion | File Added: issue39879.diff | |
2019-01-08 10:46 | gorkaion | File Deleted: issue39879.diff | |
2019-01-08 10:46 | gorkaion | File Added: issue39879.diff | |
2019-01-09 04:41 | rqueralta | Assigned To | Retail => rqueralta |
2019-01-09 04:42 | rqueralta | Status | new => scheduled |
2019-01-09 09:46 | rafaroda | Relationship added | related to 0039813 |
2019-01-14 00:12 | hgbot | Checkin | |
2019-01-14 00:12 | hgbot | Note Added: 0108931 | |
2019-01-14 00:12 | hgbot | Status | scheduled => resolved |
2019-01-14 00:12 | hgbot | Resolution | open => fixed |
2019-01-14 00:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f885b855aa31343faf02e4eb95d120fcfc8bfb17 [^] |
2019-01-17 18:25 | marvintm | Review Assigned To | => marvintm |
2019-01-17 18:25 | marvintm | Status | resolved => closed |
2019-01-17 18:25 | marvintm | Fixed in Version | => RR19Q2 |
2019-03-11 12:57 | hgbot | Checkin | |
2019-03-11 12:57 | hgbot | Note Added: 0110347 | |
2019-03-11 12:58 | hgbot | Checkin | |
2019-03-11 12:58 | hgbot | Note Added: 0110348 | |
2019-03-12 14:38 | hgbot | Checkin | |
2019-03-12 14:38 | hgbot | Note Added: 0110384 | |
2019-04-11 09:43 | alostale | Relationship added | blocks 0040591 |
Notes |
|
(0108931)
|
hgbot
|
2019-01-14 00:12
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f885b855aa31343faf02e4eb95d120fcfc8bfb17
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Sat Jan 12 07:39:48 2019 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f885b855aa31343faf02e4eb95d120fcfc8bfb17 [^]
Fixed issue 39879: ExternalOrderLoader should search entities based on POS
Terminal Org instead of user readable orgs
- Filtered by the natural tree of the POS Terminal organization instead of the
readable orgs.
---
M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java
---
|
|
|
(0110347)
|
hgbot
|
2019-03-11 12:57
|
|
|
|
(0110348)
|
hgbot
|
2019-03-11 12:58
|
|
|
|
(0110384)
|
hgbot
|
2019-03-12 14:38
|
|
|