Openbravo Issue Tracking System - Retail Modules |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0053912 | Retail Modules | Retail API | public | 2023-11-10 13:47 | 2024-01-25 05:59 |
|
| Reporter | alfonso_alcalde | |
| Assigned To | SABARINATH P | |
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
| Merge Request Status | approved |
| Review Assigned To | |
| OBNetwork customer | OBPS |
| Support ticket | |
| 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".
|
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0055222 | | closed | alostale | Price API - importing price for deactivated product |
|
| Attached Files | |
|
| 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 | OBNetwork customer | => OBPS |
| 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 | bug_revision_view_page.php?rev_id=27105#r27105 |
| 2023-11-10 13:53 | marvintm | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=27107#r27107 |
| 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 | Merge Request Status | => open |
| 2023-11-17 06:06 | hgbot | Note Added: 0157262 | |
| 2023-11-20 07:29 | hgbot | Merge Request Status | open => approved |
| 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 |
|
Notes |
|
|
|
|
|
|
(0157262)
|
|
hgbot
|
|
2023-11-17 06:06
|
|
|
|
|
(0157322)
|
|
hgbot
|
|
2023-11-20 07:29
|
|
|
|
|
(0157323)
|
|
hgbot
|
|
2023-11-20 07:29
|
|
|
|
|
(0157332)
|
|
hgbot
|
|
2023-11-20 09:39
|
|
|
|
|
|
|