Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049332
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementminorhave not tried2022-05-16 14:112022-05-17 13:49
ReportervmromanosView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049332: Remove attributesetinstance_info when id = '0'

DescriptionWhen a stock doesn't have associatted an attributesetinstance, the json returns this useless information:

"attributeSetInstance_info": {
                "id": "0"
},
Steps To ReproduceIn Postman use the Stock Filter by Warehouse example.

See this is exported and adds no value:

"attributeSetInstance_info": {
                "id": "0"
},
Proposed SolutionRemoved attributeSetInstance_info when id = '0'
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049164 closedTriage Omni WMS Openbravo ERP Openbravo API to export current Stock 
depends on feature request 0049321 closedcaristu Modules Support custom changes on exported SBO objects 

-  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
Powered by Mantis Bugtracker