Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052431
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-05-12 10:232023-05-22 18:26
ReporterngarciaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in Version23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052431: Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted

DescriptionOrder goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted

I get the following error in livebuilds:

org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Vall Boi - EUR - VB1/0000002 - 12-05-2023 - OHS Customer - -3.60 - 3.60 - 20 (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

The customer gets a different error:

EWI org.openbravo.base.exception.OBSecurityException: Entity ... (OrderLine) with organization ... references an entity ... through its property OrderLine.goodsShipmentLine but this referenced entity belongs to an organization ... which is not part of the natural tree of ...
Steps To ReproduceIn the backoffice:

Add a record in Organization - Schemas subtab to Orhi Store and Vallboi Store organizations. Copy the values from Vallblanca store
Set the Web POS Save Removed Tickets preference to Y

Access to https://livebuilds.openbravo.com/retail_pos2_pgsql/web/pos/?terminal=OS-1 [^] with orhi user

Add a product
Pay it
Done

Access to https://livebuilds.openbravo.com/retail_pos2_pgsql/web/pos/?terminal=VB-1 [^]

Look for the previously created order in Orders menu
Select it
Click on Verified Returns
Select the line
Delete the line

Add a product
Return Line
Refund
Done

Check the order goes to Errors While Importing POS Data
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0051588 closedranjith_qualiantech_com Retail Modules Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted 
related to defect 0045013 closedranjith_qualiantech_com Retail Modules Cross Store Return stuck in the Errors While Importing can not be processed again 
related to defect 0053590 closedRajesh_18 POS2 Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted 

-  Notes
(0149922)
hgbot (developer)
2023-05-18 09:10

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1815 [^]
(0150102)
hgbot (developer)
2023-05-22 18:26

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 01b55d74352dafc2269b322c1a5e9524d5cdd043
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 22-05-2023 16:26:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/01b55d74352dafc2269b322c1a5e9524d5cdd043 [^]

Fixed ISSUE-52431: Added terminal info in payload when deleting ticket line

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/__test__/TicketLinePopover.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketPopover/__test__/TicketPopover.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/AddProduct.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/DeleteLine.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/DeleteLine.js
---
(0150103)
hgbot (developer)
2023-05-22 18:26

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1815 [^]

- Issue History
Date Modified Username Field Change
2023-05-12 10:23 ngarcia New Issue
2023-05-12 10:23 ngarcia Assigned To => Retail
2023-05-12 10:23 ngarcia Triggers an Emergency Pack => No
2023-05-12 10:24 ngarcia Relationship added related to 0051588
2023-05-17 07:46 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-05-17 09:39 ranjith_qualiantech_com Status new => scheduled
2023-05-18 09:10 hgbot Note Added: 0149922
2023-05-22 18:26 hgbot Resolution open => fixed
2023-05-22 18:26 hgbot Status scheduled => closed
2023-05-22 18:26 hgbot Fixed in Version => 23Q3
2023-05-22 18:26 hgbot Note Added: 0150102
2023-05-22 18:26 hgbot Note Added: 0150103
2023-06-28 14:48 rafaroda Relationship added related to 0045013
2023-10-04 12:22 ngarcia Relationship added related to 0053590


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker