Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052816Retail ModulesRetail APIpublic2023-06-21 13:402023-06-27 17:54
Leyre 
alainperez 
highmajoralways
closedfixed 
5
 
 
approved
Gold
65262
No
0052816: MultiUPC description is not updated when importing products with the business API
MultiUPC description of the product is not updated when importing products with the business API
1. Import the attached JSON using the business API to create a new product in the Backoffice.
2. Verify that, after execute the insert, the em_obmupc_multiupc_desc field in the header is empty (null).

No tags attached.
? newproductwithmultiupc (1,605) 2023-06-21 13:40
https://issues.openbravo.com/file_download.php?file_id=18674&type=bug
diff 52816.diff (4,498) 2023-06-22 13:09
https://issues.openbravo.com/file_download.php?file_id=18686&type=bug
Issue History
2023-06-21 13:40LeyreNew Issue
2023-06-21 13:40LeyreAssigned To => Triage Platform Conn
2023-06-21 13:40LeyreOBNetwork customer => Gold
2023-06-21 13:40LeyreSupport ticket => 65262
2023-06-21 13:40LeyreTriggers an Emergency Pack => No
2023-06-21 13:40LeyreFile Added: newproductwithmultiupc
2023-06-21 13:49adrianromeroAssigned ToTriage Platform Conn => Retail
2023-06-21 15:38aaroncaleroAssigned ToRetail => alainperez
2023-06-21 15:38aaroncaleroStatusnew => scheduled
2023-06-21 15:41gorkaionIssue Monitored: gorkaion
2023-06-22 07:59egoitzDescription Updatedbug_revision_view_page.php?rev_id=26330#r26330
2023-06-22 07:59egoitzSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26332#r26332
2023-06-22 13:02caristuNote Added: 0151497
2023-06-22 13:02caristuFile Added: 52816.diff
2023-06-22 13:09caristuFile Deleted: 52816.diff
2023-06-22 13:09caristuFile Added: 52816.diff
2023-06-22 13:19caristuSummaryRecords in MultiUPC not recognized => MultiUPC description is not updated when importing products with the business API
2023-06-22 13:19caristuDescription Updatedbug_revision_view_page.php?rev_id=26338#r26338
2023-06-22 13:19caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26339#r26339
2023-06-23 19:51hgbotMerge Request Status => open
2023-06-23 19:51hgbotNote Added: 0151570
2023-06-27 17:54hgbotMerge Request Statusopen => approved
2023-06-27 17:54hgbotNote Added: 0151675
2023-06-27 17:54hgbotResolutionopen => fixed
2023-06-27 17:54hgbotStatusscheduled => closed
2023-06-27 17:54hgbotNote Added: 0151676

Notes
(0151497)
caristu   
2023-06-22 13:02   
Attached a fix proposal. But note that it should be reviewed in deep in order to understand why the update of the description was done in that way or if the change can impact in the functionality somehow.
(0151570)
hgbot   
2023-06-23 19:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.multiupc/-/merge_requests/6 [^]
(0151675)
hgbot   
2023-06-27 17:54   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.multiupc/-/merge_requests/6 [^]
(0151676)
hgbot   
2023-06-27 17:54   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.multiupc [^]
Changeset: 836ce4edbb9d4bc137a67279e066d4e16db9bde5
Author: Alain Pérez Balart <alain.perez@doceleguas.com>
Date: 27-06-2023 15:54:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.multiupc/-/commit/836ce4edbb9d4bc137a67279e066d4e16db9bde5 [^]

Fixed ISSUE-52816: MultiUPC description is not updated when importing products...

---
A src/org/openbravo/retail/api/multiupc/hooks/ProductImportAfterFlushHook.java
---