Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039879 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-01-08 10:12 | 2019-03-12 14:38 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | f885b855aa31 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | issue39879.diff [^] (1,612 bytes) 2019-01-08 10:46 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||
|
Notes | |
(0108931) hgbot (developer) 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 (developer) 2019-03-11 12:57 |
Repository: erp/pmods/org.openbravo.retail.sampledata Changeset: 1a57e74935c7fa77c32fe097578871ee2904645c Author: Alejandro <alekosmp86 <at> gmail.com> Date: Wed Mar 06 10:33:57 2019 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/1a57e74935c7fa77c32fe097578871ee2904645c [^] Related to issue 39879: added sampledata for testing purposes --- M referencedata/sampledata/The_White_Valley_Group/M_OFFER.xml M referencedata/sampledata/The_White_Valley_Group/M_OFFER_PRODUCT.xml --- |
(0110348) hgbot (developer) 2019-03-11 12:58 |
Repository: tools/automation/pi-mobile Changeset: 496caf5d92a07f66017e98650a0adf236a84f0dd Author: Alejandro <alekosmp86 <at> gmail.com> Date: Wed Mar 06 11:18:12 2019 -0500 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/496caf5d92a07f66017e98650a0adf236a84f0dd [^] Related to issue 39879: added automated test --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I39879_VerifyDiscountsWithSameNameAndDiffOrgs.java --- |
(0110384) hgbot (developer) 2019-03-12 14:38 |
Repository: erp/pmods/org.openbravo.retail.sampledata Changeset: f2842a683492b86e89a5a697d6b097902ee418d3 Author: Alejandro <alekosmp86 <at> gmail.com> Date: Mon Mar 11 11:57:31 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/f2842a683492b86e89a5a697d6b097902ee418d3 [^] Related to issue 39879: fixed sampledata --- M referencedata/sampledata/The_White_Valley_Group/M_OFFER.xml M referencedata/sampledata/The_White_Valley_Group/M_OFFER_PRODUCT.xml --- |
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 |
Copyright © 2000 - 2009 MantisBT Group |