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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052281
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajorhave not tried2023-04-27 14:012023-05-03 09:26
Reporterazzeddine_meftohView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutionfixedFixed 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

0052281: EDL request (push API RETAPCO_OrderCreation) failing for cross store returns

Descriptionwhen doing cross store returns if the user in the pos does not have access (role/ org access) to the original ticket organization the EDL request fails with the error : Could not export data for record with ID XXXXXXXXXXXXXXXXXXXX
Steps To Reproduceconfig :
- event subscription 'Web POS Order Creation' active
- POS user X has a role that can access only organization store A

Steps :
- user X connected on a POS on organization A
- do a cross store return on a sale order done on organization store B
- EDL request created but in error : Could not export data for record with ID XXXXXXXXXXXXXXXXXXXX

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0051927 closedcaristu Web POS Order Creation event is not fired for cross store returns 

-  Notes
(0149080)
hgbot (developer)
2023-04-28 14:52

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/144 [^]
(0149178)
hgbot (developer)
2023-05-03 09:26

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 5dbc7accdfd73895de18b9cd2f50cd18c9e659a4
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 03-05-2023 07:16:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/5dbc7accdfd73895de18b9cd2f50cd18c9e659a4 [^]

fixes BUG-52281: when exporting records to the ext system don't apply the org filter

  Do not apply the organization filter when exporting the records to be
sent to the external system. As we are exporting them by ID this is
somehow consistent with what we do for finding the records to be
exported (see [1]).

  With this we solve the particular case of exporting a cross
organization return when the role has not access to the organization of
the original sale.

[1] https://issues.openbravo.com/view.php?id=51927 [^]

---
M src/org/openbravo/api/edl/ApiEventItemProcessor.java
---
(0149179)
hgbot (developer)
2023-05-03 09:26

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

- Issue History
Date Modified Username Field Change
2023-04-27 14:01 azzeddine_meftoh New Issue
2023-04-27 14:01 azzeddine_meftoh Assigned To => Triage Platform Conn
2023-04-27 14:01 azzeddine_meftoh Triggers an Emergency Pack => No
2023-04-27 14:03 rafaroda Relationship added related to 0051927
2023-04-28 14:52 hgbot Note Added: 0149080
2023-05-03 09:26 hgbot Resolution open => fixed
2023-05-03 09:26 hgbot Status new => closed
2023-05-03 09:26 hgbot Note Added: 0149178
2023-05-03 09:26 hgbot Note Added: 0149179


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker