Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051588 | Retail Modules | Web POS | public | 2023-02-14 10:34 | 2023-03-21 13:38 |
|
Reporter | ngarcia | |
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 | RR23Q2 | |
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 | 0051588: Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted |
Description | Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted |
Steps To Reproduce | In https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]
Set the Web POS Save Removed Tickets preference to Y
In https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=OS-1#retail.pointofsale [^]
Create a ticket, add a product and pay it
In https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VB-1 [^]
Open Verified Returns
Advanced Filter
Store: (All Stores)
Apply Filters
Select previously created order and add its line
Select the line and delete it
Add a product and pay it
Check in the backoffice the order is stuck in Errors While Importing POS Data with the following error:
org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Vall Boi - EUR - VB1/0000003 - 14-02-2023 - OHS Customer - 5.00 - 0 - 30 (FIN_Finacc_Transaction) with organization Vall Boí Store references an entity OHS Customer through its property FIN_Finacc_Transaction.businessPartner but this referenced entity belongs to an organization Orhi Store which is not part of the natural tree of Vall Boí Store
Repeat the process by selecting Arturo Montoro business partner
In this case, the error is different:
org.openbravo.base.exception.OBSecurityException: Entity VB1/0000004 - 14-02-2023 - 5.00 - 20 - 0.00 (OrderLine) with organization Vall Boí Store references an entity 500002 - 14-02-2023 - Arturo Montoro - 10 - Adhesive body warmers - 1 through its property OrderLine.goodsShipmentLine but this referenced entity belongs to an organization Orhi Store which is not part of the natural tree of Vall Boí Store |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0040741 | | closed | collazoandy4 | Retail Modules | Error while importing in Cross Store Returns after delete a line | related to | defect | 0052192 | | closed | ranjith_qualiantech_com | Retail Modules | EWI org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Posets Store - EUR - PS1/0000001 - 20-04-2023 - OHS Cust | 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 | causes | defect | 0052191 | | closed | ranjith_qualiantech_com | Retail Modules | EWI org.codehaus.jettison.json.JSONException: JSONObject["deletedLines"] is not a JSONArray. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-02-14 10:34 | ngarcia | New Issue | |
2023-02-14 10:34 | ngarcia | Assigned To | => Retail |
2023-02-14 10:34 | ngarcia | Triggers an Emergency Pack | => No |
2023-02-14 10:34 | ngarcia | Relationship added | related to 0040741 |
2023-02-14 10:38 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=25536#r25536 |
2023-02-14 10:38 | ngarcia | Proposed Solution updated | |
2023-02-24 06:12 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2023-02-24 06:12 | ranjith_qualiantech_com | Status | new => scheduled |
2023-03-01 06:01 | hgbot | Note Added: 0147143 | |
2023-03-10 07:38 | hgbot | Resolution | open => fixed |
2023-03-10 07:38 | hgbot | Status | scheduled => closed |
2023-03-10 07:38 | hgbot | Fixed in Version | => RR23Q2 |
2023-03-10 07:38 | hgbot | Note Added: 0147432 | |
2023-03-10 07:38 | hgbot | Note Added: 0147433 | |
2023-03-18 07:31 | ranjith_qualiantech_com | Note Added: 0147668 | |
2023-03-18 07:31 | ranjith_qualiantech_com | Status | closed => new |
2023-03-18 07:31 | ranjith_qualiantech_com | Resolution | fixed => open |
2023-03-18 07:31 | ranjith_qualiantech_com | Fixed in Version | RR23Q2 => |
2023-03-18 07:31 | ranjith_qualiantech_com | Status | new => scheduled |
2023-03-18 07:32 | hgbot | Note Added: 0147669 | |
2023-03-20 17:15 | hgbot | Note Added: 0147717 | |
2023-03-21 08:01 | hgbot | Resolution | open => fixed |
2023-03-21 08:01 | hgbot | Status | scheduled => closed |
2023-03-21 08:01 | hgbot | Note Added: 0147738 | |
2023-03-21 08:01 | hgbot | Fixed in Version | => RR23Q2 |
2023-03-21 08:01 | hgbot | Note Added: 0147739 | |
2023-03-21 11:09 | ngarcia | Note Added: 0147743 | |
2023-03-21 11:09 | ngarcia | Status | closed => new |
2023-03-21 11:09 | ngarcia | Resolution | fixed => open |
2023-03-21 11:09 | ngarcia | Fixed in Version | RR23Q2 => |
2023-03-21 13:38 | marvintm | Status | new => scheduled |
2023-03-21 13:38 | marvintm | Status | scheduled => resolved |
2023-03-21 13:38 | marvintm | Fixed in Version | => RR23Q2 |
2023-03-21 13:38 | marvintm | Resolution | open => fixed |
2023-03-21 13:38 | marvintm | Review Assigned To | => marvintm |
2023-03-21 13:38 | marvintm | Note Added: 0147758 | |
2023-03-21 13:38 | marvintm | Status | resolved => closed |
2023-04-21 10:01 | ngarcia | Relationship added | related to 0052192 |
2023-04-24 08:24 | ranjith_qualiantech_com | Relationship added | causes 0052191 |
2023-05-12 10:24 | ngarcia | Relationship added | related to 0052431 |
Notes |
|
(0147143)
|
hgbot
|
2023-03-01 06:01
|
|
|
|
(0147432)
|
hgbot
|
2023-03-10 07:38
|
|
|
|
(0147433)
|
hgbot
|
2023-03-10 07:38
|
|
|
|
|
Issue will be reproduced, if Pref. "Web POS Save Removed Tickets" is enabled |
|
|
(0147669)
|
hgbot
|
2023-03-18 07:32
|
|
|
|
(0147717)
|
hgbot
|
2023-03-20 17:15
|
|
|
|
(0147738)
|
hgbot
|
2023-03-21 08:01
|
|
|
|
(0147739)
|
hgbot
|
2023-03-21 08:01
|
|
|
|
|
Still reproduced in livebuilds |
|
|
|
That's because it was merged just today, it will appear in live builds tomorrow. |
|