Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0053912 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | major | always | 2023-11-10 13:47 | 2024-01-25 05:59 | |||
Reporter | alfonso_alcalde | View Status | public | |||||
Assigned To | SABARINATH P | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0053912: API PriceList ERROR updating inactive product | |||||||
Description | When trying to update inactive products in a price list through the Price List API, an error occurs, "duplicate key value violates unique constraint", as it tries to insert the already existing product. | |||||||
Steps To Reproduce | 1- Locate in the backoffice, or insert a pricelist with any product from the backoffice or through the API. 2- Via PriceList API, deactivate the product. 2.2- In our project we have the "IsActive" field visible in the ProductPrice tab, so we can check the inactive status resulting from the previous step. 3- Resend any update via API of that product in the PriceList. 4- Check the error in EDL Request. ERROR: duplicate key value violates unique constraint "m_productprice_pricelist_ve_un". | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0157042) alfonso_alcalde (developer) 2023-11-10 13:49 |
https://drive.google.com/file/d/1-VYPWSfrv0VBpi8mcYQgRqmTmF7oY7U2/view?usp=sharing [^] |
(0157262) hgbot (developer) 2023-11-17 06:06 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations.api/-/merge_requests/6 [^] |
(0157322) hgbot (developer) 2023-11-20 07:29 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations.api [^] Changeset: 85bb66d5f9eaa69ceb7e2b111cf5348aea0e6c31 Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com> Date: 16-11-2023 15:52:58 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations.api/-/commit/85bb66d5f9eaa69ceb7e2b111cf5348aea0e6c31 [^] Fixed ISSUE-53912: Handled error while updating pricelist via API --- M src/org/openbravo/commercialoperations/api/hook/productPriceException/ProductPriceBaseOBObjectFetcher.java --- |
(0157323) hgbot (developer) 2023-11-20 07:29 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations.api/-/merge_requests/6 [^] |
(0157332) hgbot (developer) 2023-11-20 09:39 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/customers/saboraespana/snapshots [^] Changeset: 5ff171fedd7fe0ddaf049573a4778c6c176d8edd Author: Alfonso Alcalde Elorz <alfonso.alcalde@openbravo.com> Date: 20-11-2023 09:39:01 URL: https://gitlab.com/openbravo/customers/saboraespana/snapshots/-/commit/5ff171fedd7fe0ddaf049573a4778c6c176d8edd [^] Update Snapshot_Dev_23Q4, Fixed ISSUE-53912 --- M delivery/dev/Snapshot_Dev_23Q4 --- |
(0159746) elijahnelson (reporter) 2024-01-25 05:59 |
You can query the database directly or use relevant APIs or tools provided by your system to verify the existing records. https://mapquestdrivingdirections.io [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2023-11-10 13:47 | alfonso_alcalde | New Issue | |
2023-11-10 13:47 | alfonso_alcalde | Assigned To | => Triage Platform Conn |
2023-11-10 13:47 | alfonso_alcalde | Triggers an Emergency Pack | => No |
2023-11-10 13:49 | alfonso_alcalde | Note Added: 0157042 | |
2023-11-10 13:53 | marvintm | Assigned To | Triage Platform Conn => Retail |
2023-11-10 13:53 | marvintm | Description Updated | View Revisions |
2023-11-10 13:53 | marvintm | Steps to Reproduce Updated | View Revisions |
2023-11-15 06:00 | SABARINATH P | Assigned To | Retail => SABARINATH P |
2023-11-15 08:03 | SABARINATH P | Status | new => scheduled |
2023-11-17 06:06 | hgbot | Note Added: 0157262 | |
2023-11-20 07:29 | hgbot | Resolution | open => fixed |
2023-11-20 07:29 | hgbot | Status | scheduled => closed |
2023-11-20 07:29 | hgbot | Note Added: 0157322 | |
2023-11-20 07:29 | hgbot | Note Added: 0157323 | |
2023-11-20 09:39 | hgbot | Note Added: 0157332 | |
2024-01-25 05:59 | elijahnelson | Note Added: 0159746 | |
2024-09-09 10:29 | alostale | Relationship added | related to 0055222 |
Copyright © 2000 - 2009 MantisBT Group |