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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053590
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-10-04 12:222023-11-02 11:49
ReporterngarciaView Statuspublic 
Assigned ToRajesh_18 
PriorityurgentResolutionfixedFixed in Version
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

0053590: 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 ... (FIN_Finacc_Transaction) with organization A references an entity ... through its property FIN_Finacc_Transaction.businessPartner but this referenced entity belongs to an organization B which is not part of the natural tree of A

The customer gets a different error:

org.openbravo.base.exception.OBSecurityException: Entity ... (OrderLine) with organization A references an entity ... through its property OrderLine.goodsShipmentLine but this referenced entity belongs to an organization B which is not part of the natural tree of A
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
Add a new product
Try to pay it

Check the following error message is shown:

All receipt lines must belong to same store

Remove the return line
Pay it

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

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052431 closedranjith_qualiantech_com Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted 

-  Notes
(0155663)
hgbot (developer)
2023-10-09 10:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1379 [^]
(0156462)
hgbot (developer)
2023-10-30 07:37

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1379 [^]
(0156463)
hgbot (developer)
2023-10-30 07:37

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c571434ee2faad283baf6f2c0b3191e7d3882e5a
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 30-10-2023 06:37:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c571434ee2faad283baf6f2c0b3191e7d3882e5a [^]

Fixes ISSUE-53590: Reset ticket properties when switched from cross-store to noncross-store

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteLine.js
---
(0156489)
hgbot (developer)
2023-10-30 12:11

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9090ae584d4c522cc64c0daa996fc9227c91e3db
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 30-10-2023 12:11:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9090ae584d4c522cc64c0daa996fc9227c91e3db [^]

Related to ISSUE-53590: reverted commit as it was affecting integration

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteLine.js
---
(0156490)
marvintm (manager)
2023-10-30 12:12

Reverted fix as it was causing problems in integration
(0156612)
hgbot (developer)
2023-11-02 11:41

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1404 [^]
(0156613)
hgbot (developer)
2023-11-02 11:49

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 36fc0c2c99c0717013b2a2f9c5ebb54f6916aa94
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 02-11-2023 16:09:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/36fc0c2c99c0717013b2a2f9c5ebb54f6916aa94 [^]

Fixed ISSUE-53590: Reset ticket properties when switched from cross-store to noncross-store

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteLine.js
---
(0156614)
hgbot (developer)
2023-11-02 11:49

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1404 [^]

- Issue History
Date Modified Username Field Change
2023-10-04 12:22 ngarcia New Issue
2023-10-04 12:22 ngarcia Assigned To => Retail
2023-10-04 12:22 ngarcia Triggers an Emergency Pack => No
2023-10-04 12:22 ngarcia Relationship added related to 0052431
2023-10-05 09:41 Rajesh_18 Assigned To Retail => Rajesh_18
2023-10-05 09:42 Rajesh_18 Status new => scheduled
2023-10-09 10:59 hgbot Note Added: 0155663
2023-10-30 07:37 hgbot Note Added: 0156462
2023-10-30 07:37 hgbot Resolution open => fixed
2023-10-30 07:37 hgbot Status scheduled => closed
2023-10-30 07:37 hgbot Fixed in Version => RR24Q1
2023-10-30 07:37 hgbot Note Added: 0156463
2023-10-30 12:11 hgbot Note Added: 0156489
2023-10-30 12:12 marvintm Note Added: 0156490
2023-10-30 12:12 marvintm Status closed => new
2023-10-30 12:12 marvintm Resolution fixed => open
2023-10-30 12:12 marvintm Fixed in Version RR24Q1 =>
2023-11-01 06:23 Rajesh_18 Status new => scheduled
2023-11-02 11:41 hgbot Note Added: 0156612
2023-11-02 11:49 hgbot Resolution open => fixed
2023-11-02 11:49 hgbot Status scheduled => closed
2023-11-02 11:49 hgbot Fixed in Version => RR24Q1
2023-11-02 11:49 hgbot Note Added: 0156613
2023-11-02 11:49 hgbot Note Added: 0156614


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker