Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055224Retail ModulesRetail APIpublic2024-04-17 14:462024-05-15 13:28
azzeddine_meftoh 
SABARINATH P 
normalmajorhave not tried
closedfixed 
5
main 
 
No
0055224: giftcertificate API missing record identifier in entity mapping
when importing a giftcertificate to update an existing one we get this error : ERROR: duplicate key value violates unique constraint "gcnv_giftcard_inst_value"

the entity mapping does not have a record identifier, it should be the search key field
import a gift certificate with the API
import the same json
No tags attached.
Issue History
2024-04-17 14:46azzeddine_meftohNew Issue
2024-04-17 14:46azzeddine_meftohAssigned To => Triage Platform Conn
2024-04-17 14:46azzeddine_meftohTriggers an Emergency Pack => No
2024-04-18 09:20adrianromeroAssigned ToTriage Platform Conn => Retail
2024-04-18 10:20guillermogilStatusnew => acknowledged
2024-04-18 11:19SABARINATH PAssigned ToRetail => SABARINATH P
2024-04-18 11:19SABARINATH PStatusacknowledged => scheduled
2024-04-29 08:41hgbotNote Added: 0163870
2024-05-15 13:28hgbotResolutionopen => fixed
2024-05-15 13:28hgbotStatusscheduled => closed
2024-05-15 13:28hgbotNote Added: 0164665
2024-05-15 13:28hgbotNote Added: 0164666

Notes
(0163870)
hgbot   
2024-04-29 08:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/36 [^]
(0164665)
hgbot   
2024-05-15 13:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards [^]
Changeset: d6da25886293b76b8f01fd9bc464df0ff9b5f340
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 29-04-2024 12:07:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/commit/d6da25886293b76b8f01fd9bc464df0ff9b5f340 [^]

Fixed ISSUE-55224: Added new fetcher by searchkey for giftcertificate.

---
A src/org/openbravo/retail/api/giftcards/mappings/giftcertificate/GiftCertificateFetcher.java
---
(0164666)
hgbot   
2024-05-15 13:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/36 [^]