Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055878 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | major | have not tried | 2024-07-01 13:38 | 2024-07-19 06:30 | |||
Reporter | AgatheBertin | View Status | public | |||||
Assigned To | sreehari | |||||||
Priority | normal | 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 | |||||||
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 | 0055878: API ProductListsForLabels - Organization | |||||||
Description | API ProductListsForLabels When importing, we have to set an organization (Organization of the product list for labels) But, we can only integrate the object using the NAME of the organization We should be able to use the searchKey of the organization | |||||||
Steps To Reproduce | Use the SearchKey of the organiztion and you get the error "Error while importing an item: No entry found in Organization with name = 0000001203" [{"client":"CCC","organization":"0000001203","name":"Test ABE1234","searchKey":"Test ABE1234","active":true,"printDate":"2024-02-07","products":[{"product":"477715"},{"product":"581301"},{"product":"182496"},{"product":"477720"},{"product":"549207"},{"product":"581297"}]}] | |||||||
Proposed Solution | Allow to import with the search Key of the organization. JWE: Import will check first SearchKey and if not then organization name (to keep retrocompatbility) Export will be done just by searchKey | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0167014) hgbot (developer) 2024-07-16 13:41 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/merge_requests/4 [^] |
(0167059) hgbot (developer) 2024-07-17 11:03 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api [^] Changeset: 0a4c25ddb10a1d9a6d979a59f825f313565580dd Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com> Date: 17-07-2024 09:03:03 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/commit/0a4c25ddb10a1d9a6d979a59f825f313565580dd [^] Fixes ISSUE-55878: Changed organization name to searchKey on the API --- A src/org/openbravo/pos2/product/label/printing/api/mappings/ImportProductListsForLabelsJavaPropertyMappingHandler.java M examples/Openbravo API.postman_collection.json M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml --- |
(0167060) hgbot (developer) 2024-07-17 11:03 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/merge_requests/4 [^] |
(0167117) sreehari (viewer) 2024-07-18 11:21 |
when wrong organization is sent in the request, it throws error but also creates record with * org |
(0167122) hgbot (developer) 2024-07-18 12:07 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/merge_requests/5 [^] |
(0167141) hgbot (developer) 2024-07-19 06:30 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api [^] Changeset: 190a247e44a98a76c494ccd471548487752c7052 Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com> Date: 19-07-2024 04:30:31 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/commit/190a247e44a98a76c494ccd471548487752c7052 [^] Fixes ISSUE-55878: Record being created in case org not found Removed log and thrown related exceptions instead --- M src/org/openbravo/pos2/product/label/printing/api/mappings/ImportProductListsForLabelsJavaPropertyMappingHandler.java --- |
(0167142) hgbot (developer) 2024-07-19 06:30 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/merge_requests/5 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2024-07-01 13:38 | AgatheBertin | New Issue | |
2024-07-01 13:38 | AgatheBertin | Assigned To | => Triage Platform Conn |
2024-07-01 13:38 | AgatheBertin | OBNetwork customer | => OBPS |
2024-07-01 13:38 | AgatheBertin | Triggers an Emergency Pack | => No |
2024-07-08 10:14 | alostale | Assigned To | Triage Platform Conn => Retail |
2024-07-10 10:29 | jorgewederago | Proposed Solution updated | |
2024-07-10 10:29 | jorgewederago | Status | new => acknowledged |
2024-07-15 07:17 | sreehari | Assigned To | Retail => sreehari |
2024-07-15 07:18 | sreehari | Status | acknowledged => scheduled |
2024-07-16 13:41 | hgbot | Merge Request Status | => open |
2024-07-16 13:41 | hgbot | Note Added: 0167014 | |
2024-07-17 10:54 | guillermogil | Status | scheduled => feedback |
2024-07-17 10:55 | guillermogil | Status | feedback => scheduled |
2024-07-17 11:02 | hgbot | Merge Request Status | open => approved |
2024-07-17 11:03 | hgbot | Resolution | open => fixed |
2024-07-17 11:03 | hgbot | Status | scheduled => closed |
2024-07-17 11:03 | hgbot | Note Added: 0167059 | |
2024-07-17 11:03 | hgbot | Note Added: 0167060 | |
2024-07-18 11:21 | sreehari | Note Added: 0167117 | |
2024-07-18 11:21 | sreehari | Status | closed => new |
2024-07-18 11:21 | sreehari | Resolution | fixed => open |
2024-07-18 11:21 | sreehari | Status | new => scheduled |
2024-07-18 12:07 | hgbot | Note Added: 0167122 | |
2024-07-19 06:30 | hgbot | Resolution | open => fixed |
2024-07-19 06:30 | hgbot | Status | scheduled => closed |
2024-07-19 06:30 | hgbot | Note Added: 0167141 | |
2024-07-19 06:30 | hgbot | Note Added: 0167142 |
Copyright © 2000 - 2009 MantisBT Group |