Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049291 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Modules] Openbravo Business API | minor | have not tried | 2022-05-11 12:13 | 2024-01-03 12:17 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | Triage Platform Conn | |||||||
Priority | high | 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 | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Regression introduced in release | ||||||||
Summary | 0049291: Properties mapped with java property mappings are not documented properly | |||||||
Description | Properties mapped with java property mappings are not properly documented in the endpoints documentation https://openbravo.atlassian.net/browse/RM-7764 [^] | |||||||
Steps To Reproduce | 0) Go to https://livebuilds.openbravo.com/retail_modules_pgsql_pi/api [^] - Import mappings: 1) Choose the Business Partner import service. Currently this entity mapping has a java property mapping for the locations field 2) Go to the Example Value. Note that the locations field example is just [{}] without any information of its inner structure 3) Expand the schema, note that the locations field type is: "Array of key-value pair {}]". This is used even if the property is not array... - Export mappings: 1) Choose the Product service. Currently this entity mapping has a java property mapping for the characteristicValues field 2) Go to the Example Value. Note that the characteristicValues field example is just {} without any information of its inner structure 3) Expand the schema, note that the characteristicValues field type just is: "{ description:Java computed value }" | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() | |||||||
![]() |
|||||||||||||||||||||||||
|
![]() |
|
(0155873) hgbot (developer) 2023-10-16 10:57 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/198 [^] |
(0155874) hgbot (developer) 2023-10-16 10:57 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/35 [^] |
(0155875) hgbot (developer) 2023-10-16 11:10 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1021 [^] |
(0155876) hgbot (developer) 2023-10-16 11:16 |
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1021 [^] |
(0156750) hgbot (developer) 2023-11-06 10:42 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/35 [^] |
(0156751) hgbot (developer) 2023-11-06 10:42 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration [^] Changeset: 7b8a64a3207485ba3864780b24a09732abab1ca4 Author: Ander Flores <ander.flores@openbravo.com> Date: 06-11-2023 10:41:43 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/commit/7b8a64a3207485ba3864780b24a09732abab1ca4 [^] Fixed FR-49291: support documenting java property mappings --- A src-test/org/openbravo/service/external/integration/StandaloneTestSuite.java A src-test/org/openbravo/service/external/integration/mapping/documentation/PropertyDocumentationTest.java A src/org/openbravo/service/external/integration/mapping/documentation/ArrayPropertyDocumentation.java A src/org/openbravo/service/external/integration/mapping/documentation/BooleanPropertyDocumentation.java A src/org/openbravo/service/external/integration/mapping/documentation/DatePropertyDocumentation.java A src/org/openbravo/service/external/integration/mapping/documentation/DateTimePropertyDocumentation.java A src/org/openbravo/service/external/integration/mapping/documentation/IntegerPropertyDocumentation.java A src/org/openbravo/service/external/integration/mapping/documentation/NumberPropertyDocumentation.java A src/org/openbravo/service/external/integration/mapping/documentation/ObjectPropertyDocumentation.java A src/org/openbravo/service/external/integration/mapping/documentation/PropertyDocumentation.java A src/org/openbravo/service/external/integration/mapping/documentation/PropertyDocumentationTransformer.java A src/org/openbravo/service/external/integration/mapping/documentation/StringPropertyDocumentation.java M src/org/openbravo/service/external/integration/mapping/JavaPropertyMappingHandler.java --- |
(0156752) hgbot (developer) 2023-11-06 10:43 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: d7235c5cba073581e723e4d7bb7eb2567246d69e Author: Ander Flores <ander.flores@openbravo.com> Date: 06-11-2023 09:43:26 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/d7235c5cba073581e723e4d7bb7eb2567246d69e [^] related to FR-49291: support documenting API java property mappings --- A src-test/org/openbravo/api/openapi/ApiPropertyDocumentationTransformerTest.java A src/org/openbravo/api/openapi/ApiPropertyDocumentationTransformer.java M src-test/org/openbravo/api/StandaloneTestSuite.java M src/org/openbravo/api/mappings/inventory/ImportInventoryJavaPropertyMappingHandler.java M src/org/openbravo/api/mappings/shipmentinout/ShipmentInOutJavaPropertyMappingHandler.java M src/org/openbravo/api/openapi/OpenApiEntityMapping.java --- |
(0156753) hgbot (developer) 2023-11-06 10:43 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/198 [^] |
(0158721) hgbot (developer) 2023-12-29 11:24 |
Repository: https://gitlab.com/openbravo/customers/saboraespana/snapshots [^] Changeset: f98474406b506ec64bc49a092df94c9c882bc380 Author: Kepa Choperena <kepa.choperena@openbravo.com> Date: 29-12-2023 11:24:05 URL: https://gitlab.com/openbravo/customers/saboraespana/snapshots/-/commit/f98474406b506ec64bc49a092df94c9c882bc380 [^] Updated Snapshot_Dev. Included ISSUE-53736 & ISSUE-49291. https://issues.openbravo.com/view.php?id=53736. [^] https://issues.openbravo.com/view.php?id=53564 [^] --- M Snapshot_Dev --- |
(0158791) hgbot (developer) 2024-01-03 12:17 |
Repository: https://gitlab.com/openbravo/customers/saboraespana/snapshots [^] Changeset: 763ec4269bb04deb00d973d20904e253a2c554d3 Author: Kepa Choperena <kepa.choperena@openbravo.com> Date: 03-01-2024 12:17:35 URL: https://gitlab.com/openbravo/customers/saboraespana/snapshots/-/commit/763ec4269bb04deb00d973d20904e253a2c554d3 [^] Revert "Updated Snapshot_Dev. Included ISSUE-53736 & ISSUE-49291." This reverts commit f98474406b506ec64bc49a092df94c9c882bc380. --- M Snapshot_Dev --- |
![]() |
|||
Date Modified | Username | Field | Change |
2022-05-11 12:13 | caristu | New Issue | |
2022-05-11 12:13 | caristu | Assigned To | => Triage Platform Conn |
2022-05-11 12:13 | caristu | Triggers an Emergency Pack | => No |
2022-05-11 12:13 | caristu | Issue generated from | 0044614 |
2022-05-11 12:14 | caristu | Project | Retail Modules => Modules |
2022-05-11 12:14 | caristu | Category | Retail API => Openbravo Business API |
2022-05-11 12:15 | caristu | File Added: swagger1.png | |
2022-05-11 12:15 | caristu | File Added: swagger2.png | |
2022-05-11 12:16 | caristu | File Added: swagger3.png | |
2022-05-11 12:16 | caristu | Status | new => acknowledged |
2022-05-11 12:16 | caristu | Relationship added | related to 0044599 |
2023-08-01 04:11 | Practics | Issue Monitored: Practics | |
2023-08-08 10:21 | alostale | Type | defect => feature request |
2023-08-10 07:11 | alostale | Description Updated | View Revisions |
2023-08-24 12:53 | caristu | Relationship added | related to 0052565 |
2023-10-16 10:57 | hgbot | Note Added: 0155873 | |
2023-10-16 10:57 | hgbot | Note Added: 0155874 | |
2023-10-16 11:10 | hgbot | Note Added: 0155875 | |
2023-10-16 11:16 | hgbot | Note Added: 0155876 | |
2023-11-06 10:42 | hgbot | Note Added: 0156750 | |
2023-11-06 10:42 | hgbot | Resolution | open => fixed |
2023-11-06 10:42 | hgbot | Status | acknowledged => closed |
2023-11-06 10:42 | hgbot | Note Added: 0156751 | |
2023-11-06 10:43 | hgbot | Note Added: 0156752 | |
2023-11-06 10:43 | hgbot | Note Added: 0156753 | |
2023-11-09 19:04 | vmromanos | Relationship added | blocks 0053906 |
2023-12-29 11:24 | hgbot | Note Added: 0158721 | |
2024-01-03 12:17 | hgbot | Note Added: 0158791 |
Copyright © 2000 - 2009 MantisBT Group |