Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055987Retail ModulesRetail APIpublic2024-07-11 16:332024-08-22 07:07
azzeddine_meftoh 
Rajesh_18 
normalmajorhave not tried
closedfixed 
5
 
 
https://gitlab.com/openbravo/product/pmods/org.openbravo.financial.multitaxcategory.api/-/commit/df99e10d62dad926f8ca956194c205c043cbdd52 [^]
No
0055987: exceptions are overwritten by the generic one in multitaxcategory
when importing a product with an UPC that is already assigned to another product we used to have an error "UPC is already assigned to the product(s):....."
now we have a generic error "Error while importing an item: Error applying import product java property mapping"

logs in attached file
import a product with an UPC that is already assigned to another product
the error should be displayed correctly in edl request
No tags attached.
log openbravo.log (22,509) 2024-07-11 16:33
https://issues.openbravo.com/file_download.php?file_id=20002&type=bug
Issue History
2024-07-11 16:33azzeddine_meftohNew Issue
2024-07-11 16:33azzeddine_meftohAssigned To => Triage Platform Conn
2024-07-11 16:33azzeddine_meftohFile Added: openbravo.log
2024-07-11 16:33azzeddine_meftohRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.financial.multitaxcategory.api/-/commit/df99e10d62dad926f8ca956194c205c043cbdd52 [^]
2024-07-11 16:33azzeddine_meftohTriggers an Emergency Pack => No
2024-07-11 16:47azzeddine_meftohIssue Monitored: martinsdan
2024-07-16 08:28adrianromeroAssigned ToTriage Platform Conn => Retail
2024-07-18 10:17jorgewederagoStatusnew => acknowledged
2024-07-18 11:48Rajesh_18Assigned ToRetail => Rajesh_18
2024-07-18 11:48Rajesh_18Statusacknowledged => scheduled
2024-07-18 12:08hgbotNote Added: 0167123
2024-08-22 07:07hgbotResolutionopen => fixed
2024-08-22 07:07hgbotStatusscheduled => closed
2024-08-22 07:07hgbotNote Added: 0168333
2024-08-22 07:07hgbotNote Added: 0168334

Notes
(0167123)
hgbot   
2024-07-18 12:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.financial.multitaxcategory.api/-/merge_requests/8 [^]
(0168333)
hgbot   
2024-08-22 07:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.financial.multitaxcategory.api [^]
Changeset: d6546dd4bb2f3422ec2164a074c24a036db68a4e
Author: Rajesh Senthilkumar <rajesh.senthilkumar.ext@openbravo.com>
Date: 22-08-2024 05:07:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.financial.multitaxcategory.api/-/commit/d6546dd4bb2f3422ec2164a074c24a036db68a4e [^]

Fixed ISSUE-55987: Fixed exception handling on the Product API
Removed unneeded saves as product and its sub-entities are saved at the end of the process and they were hiding the real exception

---
M src/org/openbravo/financial/multitaxcategory/api/mappings/ImportProductJavaPropertyMappingHandler.java
---
(0168334)
hgbot   
2024-08-22 07:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.financial.multitaxcategory.api/-/merge_requests/8 [^]