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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057649
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Openbravo Business APImajorhave not tried2025-01-15 10:562025-01-30 09:03
ReporteralostaleView Statuspublic 
Assigned Toeugen_hamuraru 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0057649: no swagger for Transactional Data category

DescriptionIn an instance with all modules installed, swagger document for the "Business API - Transactional Data" category is not genereated.
Steps To Reproduce1. 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/:?]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0057679 closedTriage Platform Conn Retail Modules Transactional API is not loading 
blocks defect 0057677 closedkousalya_r Modules Undefined property mappings introduced by the e-invoice for Italy module 

-  Notes
(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 [^]

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