Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048277Retail ModulesWeb POSpublic2021-12-17 17:302022-01-21 16:20
idiez 
rqueralta 
highmajoralways
closedfixed 
5
 
RR22Q2 
2022-01-06
No
0048277: Error duplicate an existing assortment with the existing function on the back office Open Bravo.
Error duplicate an existing assortment with the existing function on the back office Open Bravo.

The Error: duplicate key value violates unique constraint "obretco_productcategory_un" Detail: Key (ad_client_id, m_product_category_id, obretco_productlist_id) = (255610F4EA224E279210315249611061, 8A9316AC4EC2A17F4A9A3A9A7A368D1564D1564A364A9AC2D1564D1564A7A364A9A7A9A3A9A3A7A9A3A9A7A9A7A9A7D1564A7A
1) Select the "Assortment" window

2) Click the Copy Recording button

3)Can see that it throws the following error
No tags attached.
? bug.mp4 (1,482,503) 2021-12-17 17:30
https://issues.openbravo.com/file_download.php?file_id=16451&type=bug
Issue History
2021-12-17 17:30idiezNew Issue
2021-12-17 17:30idiezAssigned To => Triage Finance
2021-12-17 17:30idiezFile Added: bug.mp4
2021-12-17 17:30idiezModules => Core
2021-12-17 17:30idiezRegression date => 2022-01-06
2021-12-17 17:30idiezTriggers an Emergency Pack => No
2021-12-23 13:33vmromanosAssigned ToTriage Finance => Retail
2022-01-10 12:06marvintmProjectOpenbravo ERP => Retail Modules
2022-01-10 12:06marvintmCategory02. Master data management => Web POS
2022-01-10 12:06marvintmversionPR20Q3 =>
2022-01-10 16:14rqueraltaAssigned ToRetail => rqueralta
2022-01-10 16:15rqueraltaStatusnew => scheduled
2022-01-14 14:51hgbotNote Added: 0134303
2022-01-18 04:21hgbotNote Added: 0134349
2022-01-18 13:11hgbotNote Added: 0134360
2022-01-21 16:20hgbotResolutionopen => fixed
2022-01-21 16:20hgbotStatusscheduled => closed
2022-01-21 16:20hgbotFixed in Version => RR22Q2
2022-01-21 16:20hgbotNote Added: 0134496
2022-01-21 16:20hgbotNote Added: 0134497

Notes
(0134303)
hgbot   
2022-01-14 14:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/688 [^]
(0134349)
hgbot   
2022-01-18 04:21   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/688 [^]
(0134360)
hgbot   
2022-01-18 13:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/8 [^]
(0134496)
hgbot   
2022-01-21 16:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: fc86f4454a26d08fe19f143dd4076c94b26dbe31
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 18-01-2022 07:09:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/fc86f4454a26d08fe19f143dd4076c94b26dbe31 [^]

Fixed BUG-48277: Cloned Product Category list before Product list to avoid errors in ProductListEventHandler because database is not refresh yet when this event handler run

---
M src/org/openbravo/retail/config/businesslogic/CloneProductListActionHandler.java
---
(0134497)
hgbot   
2022-01-21 16:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/8 [^]