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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052644
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajoralways2023-06-01 17:522023-06-22 08:02
Reporteralfonso_alcaldeView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS Version23Q3Database 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

0052644: API ImportService Assortment ERROR

DescriptionWhen trying to import an assortment, via API, with more than one product of the same category, the following error occurs:

ERROR: duplicate key value violates unique constraint "obretco_productcategory_un"

Error reproduced in livebuilds with attached json.
Steps To ReproduceExecute the following API POST method:

/ws/org.openbravo.api.ImportService/Assortment

with more than one product belonging to the same category.

Attached json with example "sampledata".
TagsNo tags attached.
Attached Files? file icon Assortment.json [^] (475 bytes) 2023-06-01 17:52

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0151131)
hgbot (developer)
2023-06-14 07:57

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1244 [^]
(0151470)
hgbot (developer)
2023-06-22 08:02

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1244 [^]
(0151471)
hgbot (developer)
2023-06-22 08:02

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 723b8458bb68e54afb1dce382850365204e8adea
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 22-06-2023 05:32:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/723b8458bb68e54afb1dce382850365204e8adea [^]

Fixed ISSUE-52644: Cache product category should be used when saving assortment product

---
M src/org/openbravo/retail/posterminal/event/ProductListEventHandler.java
---

- Issue History
Date Modified Username Field Change
2023-06-01 17:52 alfonso_alcalde New Issue
2023-06-01 17:52 alfonso_alcalde Assigned To => Triage Platform Conn
2023-06-01 17:52 alfonso_alcalde File Added: Assortment.json
2023-06-01 17:52 alfonso_alcalde Triggers an Emergency Pack => No
2023-06-01 18:04 adrianromero Assigned To Triage Platform Conn => Retail
2023-06-01 18:16 marvintm Severity critical => major
2023-06-12 14:20 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-06-13 10:05 ranjith_qualiantech_com Status new => scheduled
2023-06-14 07:52 ranjith_qualiantech_com Issue Monitored: ranjith_qualiantech_com
2023-06-14 07:57 hgbot Note Added: 0151131
2023-06-22 08:02 hgbot Resolution open => fixed
2023-06-22 08:02 hgbot Status scheduled => closed
2023-06-22 08:02 hgbot Fixed in Version => RR23Q3
2023-06-22 08:02 hgbot Note Added: 0151470
2023-06-22 08:02 hgbot Note Added: 0151471


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker