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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051588
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2023-02-14 10:342023-03-21 13:38
ReporterngarciaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR23Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051588: 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
Steps To ReproduceIn 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040741 closedcollazoandy4 Retail Modules Error while importing in Cross Store Returns after delete a line 
related to defect 0052192 closedranjith_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 closedranjith_qualiantech_com POS2 Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted 
causes defect 0052191 closedranjith_qualiantech_com Retail Modules EWI org.codehaus.jettison.json.JSONException: JSONObject["deletedLines"] is not a JSONArray. 

-  Notes
(0147143)
hgbot (developer)
2023-03-01 06:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1082 [^]
(0147432)
hgbot (developer)
2023-03-10 07:38

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1082 [^]
(0147433)
hgbot (developer)
2023-03-10 07:38

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: a7ef50c14f5520b43ea4d327ac2ec60fa3d6699b
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 10-03-2023 06:37:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a7ef50c14f5520b43ea4d327ac2ec60fa3d6699b [^]

Fixed ISSUE-51588: Reset ticket properties when deleting cross store lines in VR

---
M web-test/model/business-object/ticket/actions/DeleteLine.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteLine.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0147668)
ranjith_qualiantech_com (developer)
2023-03-18 07:31

Issue will be reproduced, if Pref. "Web POS Save Removed Tickets" is enabled
(0147669)
hgbot (developer)
2023-03-18 07:32

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 712696f92c77a60170bc116d356015a1777a31f1
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 18-03-2023 12:02:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/712696f92c77a60170bc116d356015a1777a31f1 [^]

Revert "ISSUE-51588: Reset ticket properties when deleting cross store lines in VR"

This reverts commit a7ef50c14f5520b43ea4d327ac2ec60fa3d6699b.

---
M web-test/model/business-object/ticket/actions/DeleteLine.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteLine.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0147717)
hgbot (developer)
2023-03-20 17:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1107 [^]
(0147738)
hgbot (developer)
2023-03-21 08:01

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1107 [^]
(0147739)
hgbot (developer)
2023-03-21 08:01

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 88694b5b41093f5fdc824cafe373a351923fed3c
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 21-03-2023 07:00:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/88694b5b41093f5fdc824cafe373a351923fed3c [^]

Fixed ISSUE-51588: Reset ticket properties when deleting cross store lines in VR

---
M web-test/model/business-object/ticket/actions/DeleteLine.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteLine.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0147743)
ngarcia (developer)
2023-03-21 11:09

Still reproduced in livebuilds
(0147758)
marvintm (manager)
2023-03-21 13:38

That's because it was merged just today, it will appear in live builds tomorrow.

- 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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker