Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045013 | Retail Modules | Web POS | public | 2020-09-09 10:57 | 2023-06-28 14:48 |
|
Reporter | maite | |
Assigned To | ranjith_qualiantech_com | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR20Q4 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045013: Cross Store Return stuck in the Errors While Importing can not be processed again |
Description | It is not possible to Save again a cross store return that, for any reason, is stuck in the EWI window. When trying to save it again following error is raised:
org.openbravo.base.exception.OBSecurityException: Entity 1119 - Order - 1124001 (C_IMPORT_ENTRY) with organization 1119 references an entity 1124001 through its property C_IMPORT_ENTRY.oBPOSPOSTerminal but this referenced entity belongs to an organization 1124 which is not part of the natural tree of 1119
The problem is in POSImportEntryProcessor.java, line 111: the record stuck in EWI does not have the "content" section (which is present when the json is synchronized from the terminal) with the terminal's organization. So the "Save Again" process takes the organization from the "data" section, which contains the original's ticket organization (not the terminal's organization) |
Steps To Reproduce | 0. Log into OS-1 terminal, which has Cross Store functionality enabled
1. Press on Verified Return option, press on Advance Filters and select tickets from VallBlanca organization
2. Ensure that the return ticket is stuck in EWI (for example, in local, I raised an exception in the OrderLoader)
3. Access to backoffice, go to Errors While Importing POS Data window and press Save Again. The error will appear and will not be possible to reprocess the record |
Proposed Solution | |
Additional Information | |
Tags | NOR |
Relationships | related to | defect | 0052431 | | closed | ranjith_qualiantech_com | POS2 | Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-09-09 10:57 | maite | New Issue | |
2020-09-09 10:57 | maite | Assigned To | => Retail |
2020-09-09 10:57 | maite | Resolution time | => 1601416800 |
2020-09-09 10:57 | maite | Triggers an Emergency Pack | => No |
2020-09-09 10:57 | maite | Issue Monitored: maite | |
2020-09-09 10:57 | maite | Issue End Monitor: maite | |
2020-09-09 10:57 | maite | Issue Monitored: networkb | |
2020-09-14 09:21 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2020-09-16 06:07 | ranjith_qualiantech_com | Status | new => scheduled |
2020-09-17 04:55 | hgbot | Note Added: 0123120 | |
2020-09-18 09:49 | hgbot | Resolution | open => fixed |
2020-09-18 09:49 | hgbot | Status | scheduled => closed |
2020-09-18 09:49 | hgbot | Note Added: 0123198 | |
2020-09-18 09:49 | hgbot | Fixed in Version | => RR20Q4 |
2020-09-18 09:49 | hgbot | Note Added: 0123199 | |
2020-12-20 21:02 | rafaroda | Tag Attached: NOR | |
2023-06-28 14:48 | rafaroda | Relationship added | related to 0052431 |