Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049332 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | minor | have not tried | 2022-05-16 14:11 | 2022-05-17 13:49 | |||
Reporter | vmromanos | View Status | public | |||||
Assigned To | vmromanos | |||||||
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 | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049332: Remove attributesetinstance_info when id = '0' | |||||||
Description | When a stock doesn't have associatted an attributesetinstance, the json returns this useless information: "attributeSetInstance_info": { "id": "0" }, | |||||||
Steps To Reproduce | In Postman use the Stock Filter by Warehouse example. See this is exported and adds no value: "attributeSetInstance_info": { "id": "0" }, | |||||||
Proposed Solution | Removed attributeSetInstance_info when id = '0' | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||
|
Notes | |
(0137329) hgbot (developer) 2022-05-16 14:49 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/42 [^] |
(0137330) hgbot (developer) 2022-05-16 14:53 |
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/14 [^] |
(0137378) hgbot (developer) 2022-05-17 13:21 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/42 [^] |
(0137379) hgbot (developer) 2022-05-17 13:21 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: da40a5e653cf2158acbe6615a3069e0bda569fe3 Author: Víctor Martínez Romanos <victor.martinez@openbravo.com> Date: 17-05-2022 11:20:42 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/da40a5e653cf2158acbe6615a3069e0bda569fe3 [^] Fixed ISSUE-49332: Add SBOPostCreationHook to remove attributesetinstance_info It will be removed only when attributesetinstance is null, which covers the stock with a dummy attributesetinstance id = 0 --- A src/org/openbravo/api/hook/stock/StockExportSBOPostCreationHook.java --- |
(0137380) hgbot (developer) 2022-05-17 13:21 |
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^] Changeset: 8f9ec3b1c6d1e93198746384f8d65e4e89dd3f0e Author: Víctor Martínez Romanos <victor.martinez@openbravo.com> Date: 16-05-2022 14:50:58 URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/8f9ec3b1c6d1e93198746384f8d65e4e89dd3f0e [^] Related to ISSUE-49332: Adapted JSON test files Removed: "attributeSetInstance_info": { "id": "0" }, --- M src-test/data/export/filter/stock/StockByProduct.json M src-test/data/export/filter/stock/StockByWarehouse.json M src-test/data/export/filter/stock/StockByWarehouseBin.json M src-test/data/export/filter/stock/StockByWarehouseBinProduct.json --- |
(0137381) hgbot (developer) 2022-05-17 13:21 |
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/14 [^] |
(0137384) hgbot (developer) 2022-05-17 13:49 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: 838b4fd2f2a7411ee3ecde5709227d8512b04573 Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 17-05-2022 13:47:56 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/838b4fd2f2a7411ee3ecde5709227d8512b04573 [^] related to ISSUE-49332: increase dependency with External Integration Infrastructure Increase dependency with the version of the External Integration Infrastructure that introduces the SBOPostCreationHook feature. --- M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml --- |
Issue History | |||
Date Modified | Username | Field | Change |
2022-05-16 14:11 | vmromanos | New Issue | |
2022-05-16 14:11 | vmromanos | Assigned To | => Triage Omni WMS |
2022-05-16 14:11 | vmromanos | Modules | => Core |
2022-05-16 14:11 | vmromanos | Triggers an Emergency Pack | => No |
2022-05-16 14:11 | vmromanos | Issue generated from | 0049164 |
2022-05-16 14:11 | vmromanos | Relationship added | related to 0049164 |
2022-05-16 14:12 | vmromanos | Relationship added | depends on 0049321 |
2022-05-16 14:49 | hgbot | Note Added: 0137329 | |
2022-05-16 14:53 | hgbot | Note Added: 0137330 | |
2022-05-16 16:03 | vmromanos | Status | new => scheduled |
2022-05-16 16:03 | vmromanos | Assigned To | Triage Omni WMS => vmromanos |
2022-05-17 13:21 | hgbot | Note Added: 0137378 | |
2022-05-17 13:21 | hgbot | Resolution | open => fixed |
2022-05-17 13:21 | hgbot | Status | scheduled => closed |
2022-05-17 13:21 | hgbot | Note Added: 0137379 | |
2022-05-17 13:21 | hgbot | Note Added: 0137380 | |
2022-05-17 13:21 | hgbot | Note Added: 0137381 | |
2022-05-17 13:49 | hgbot | Note Added: 0137384 |
Copyright © 2000 - 2009 MantisBT Group |