Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057649 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Openbravo Business API | major | have not tried | 2025-01-15 10:56 | 2025-01-30 09:03 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | eugen_hamuraru | |||||||
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 | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Regression introduced in release | ||||||||
Summary | 0057649: no swagger for Transactional Data category | |||||||
Description | In an instance with all modules installed, swagger document for the "Business API - Transactional Data" category is not genereated. | |||||||
Steps To Reproduce | 1. In livebulid with retail pos2 modules, open: https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/api?urls.primaryName=Business+API+-+Transactional+Data [^] ERROR: * In UI this is displayed: No API definition provided. * In openbravo.log: 2025-01-15 09:23:50,562 [http-nio-127.0.0.1-8080-exec-7] ERROR org.openbravo.service.openapi.provider.OpenAPIProcessor - Error writing API org.openbravo.api-Business API - Transactional Data java.lang.NullPointerException: null at org.openbravo.api.openapi.OpenApiEntityMapping.toSchemaProperties(OpenApiEntityMapping.java:292) ~[classes/:?] at org.openbravo.api.openapi.OpenApiEntityMapping.addPropertyMappingToSchema(OpenApiEntityMapping.java:195) ~[classes/:?] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||||
|
![]() |
|
(0174217) hgbot (developer) 2025-01-16 09:56 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/415 [^] |
(0174886) hgbot (developer) 2025-01-30 09:03 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api [^] Changeset: 1b17a5514eca495a9e1418cd286dd0718d0f1493 Author: Eugen Hamuraru <eugen.hamuraru@openbravo.com> Date: 30-01-2025 08:03:06 URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/commit/1b17a5514eca495a9e1418cd286dd0718d0f1493 [^] Fixes ISSUE-57649: Swagger generation for entity definition errors --- A src-test/org/openbravo/api/openapi/OpenAPIGenerationTest.java M src-test/org/openbravo/api/StandaloneTestSuite.java M src/org/openbravo/api/openapi/ApiDefinitionGenerator.java M src/org/openbravo/api/openapi/OpenApiEntityMapping.java --- |
(0174887) hgbot (developer) 2025-01-30 09:03 |
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/merge_requests/415 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-01-15 10:56 | alostale | New Issue | |
2025-01-15 10:56 | alostale | Assigned To | => Triage Platform Conn |
2025-01-15 12:43 | adrianromero | Assigned To | Triage Platform Conn => eugen_hamuraru |
2025-01-15 12:43 | adrianromero | Status | new => scheduled |
2025-01-16 09:56 | hgbot | Note Added: 0174217 | |
2025-01-17 09:15 | eugen_hamuraru | Relationship added | blocks 0057677 |
2025-01-17 09:58 | adrianromero | Relationship added | has duplicate 0057679 |
2025-01-30 09:03 | hgbot | Resolution | open => fixed |
2025-01-30 09:03 | hgbot | Status | scheduled => closed |
2025-01-30 09:03 | hgbot | Note Added: 0174886 | |
2025-01-30 09:03 | hgbot | Note Added: 0174887 |
Copyright © 2000 - 2009 MantisBT Group |