Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048780 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | major | always | 2022-03-14 13:05 | 2022-03-18 11:36 | |||
Reporter | jose_duque | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR22Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 11 | |||
OS Version | Ubuntu 18.04.1 LTS | Database version | 10.10 | Ant version | 1.10.5 | |||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048780: It is not possible to create or modify a product if there exist 2 product categories with the same searchkey | |||||||
Description | When trying to import a Product, if the product category exists in two different organizations for this searchkey we won't be able to import/create/modify. | |||||||
Steps To Reproduce | Try to import a product that has a product category that exists in two organizations. This category has the same search key in both organizations. | |||||||
Proposed Solution | When doing the checks to create the entity, check the organization and searchkey of the category instead of only the searchkey. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0135793) hgbot (developer) 2022-03-17 11:34 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/13 [^] |
(0135830) hgbot (developer) 2022-03-18 07:56 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/13 [^] |
(0135831) hgbot (developer) 2022-03-18 07:56 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: e039adc0a27adbcb5b467b28dd69e1ede880ee0c Author: Prakash M <prakash@qualiantech.com> Date: 18-03-2022 11:16:19 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/e039adc0a27adbcb5b467b28dd69e1ede880ee0c [^] Related To ISSUE-48780: Changed organization property sequence number lower than any of the referenced properties This is necessary for organization tree validation in referenced enitities --- M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml --- |
(0135832) marvintm (viewer) 2022-03-18 07:57 |
This issue will be fixed by the fix of the following issue: https://issues.openbravo.com/view.php?id=48096 [^] combined with the changeset we already committed. |
(0135841) hgbot (developer) 2022-03-18 11:35 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration [^] Changeset: d73d080cc8e902b114c8c4b7b66d99f19c51044c Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 18-03-2022 11:34:48 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/commit/d73d080cc8e902b114c8c4b7b66d99f19c51044c [^] fixes BUG-48780: add org natural tree criteria when looking for referenced entities Take into account the natural tree criteria when looking for referenced entities when it applies. Together with this, now when importing the organization mapping (if any) is applied first so we can always use the org id when looking for referenced entities. Finally, a related improvement has been done: now when importing we initialize the children with the same organization as their parent. Note that this value can be overriden later if there is a mapping in the children for the organization property. Note that without this change child objects were being created with the current context organization by default which can lead to incorrect definitions when the parent is imported witha different organization from the current context one. --- M src/org/openbravo/service/external/integration/importer/DalSynchronizableBusinessObjectImporter.java M src/org/openbravo/service/external/integration/mapping/DirectPropertyMapping.java M src/org/openbravo/service/external/integration/mapping/PropertyMapper.java --- |
(0135843) caristu (viewer) 2022-03-18 11:36 |
MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/9 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-03-14 13:05 | jose_duque | New Issue | |
2022-03-14 13:05 | jose_duque | Assigned To | => caristu |
2022-03-14 13:05 | jose_duque | OBNetwork customer | => OBPS |
2022-03-14 13:05 | jose_duque | Triggers an Emergency Pack | => No |
2022-03-14 13:05 | jose_duque | Issue generated from | 0048492 |
2022-03-14 13:57 | martinsdan | Issue Monitored: martinsdan | |
2022-03-15 12:25 | adrianromero | Assigned To | caristu => Retail |
2022-03-17 11:34 | hgbot | Merge Request Status | => open |
2022-03-17 11:34 | hgbot | Note Added: 0135793 | |
2022-03-18 07:56 | hgbot | Merge Request Status | open => approved |
2022-03-18 07:56 | hgbot | Note Added: 0135830 | |
2022-03-18 07:56 | hgbot | Note Added: 0135831 | |
2022-03-18 07:56 | marvintm | Status | new => scheduled |
2022-03-18 07:56 | marvintm | Assigned To | Retail => prakashmurugesan88 |
2022-03-18 07:57 | marvintm | Note Added: 0135832 | |
2022-03-18 07:57 | marvintm | Status | scheduled => resolved |
2022-03-18 07:57 | marvintm | Fixed in Version | => RR22Q2 |
2022-03-18 07:57 | marvintm | Resolution | open => fixed |
2022-03-18 07:57 | marvintm | Review Assigned To | => marvintm |
2022-03-18 07:57 | marvintm | Status | resolved => closed |
2022-03-18 11:35 | hgbot | Note Added: 0135841 | |
2022-03-18 11:35 | caristu | Assigned To | prakashmurugesan88 => caristu |
2022-03-18 11:36 | caristu | Note Added: 0135843 | |
2023-02-09 11:00 | alostale | Relationship added | related to 0051547 |
Copyright © 2000 - 2009 MantisBT Group |