gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

API List showing type as "Undefined" for V4 APIs in Postgres env #9643

Closed exalate-issue-sync[bot] closed 5 months ago

exalate-issue-sync[bot] commented 5 months ago

In a Docker environment using Postgres, after importing a new API with the attached file Kafka-1-0-0.json, the API List in Console shows that the API is V4, but its type is Undefined.

Unable to render embedded object: File (/rest/api/3/attachment/content/15000) not found.

[!/rest/api/3/attachment/content/15000!|/rest/api/3/attachment/content/15000]

Instead, it should show V4 - Message.

This has been observed when denoting the APIM_VERSION as 4.2.6 and 4.2.x-latest.

It is reproducible with any type of V4 API.

Initially mentioned in slack conversation: https://graviteeio.slack.com/archives/C01R65MG162/p1711719539127129


Solution: The field type was not being mapped for JDBC installations for the method search. Once adding type to the projection, it is returned to the user via MAPI-V2 and can then be used by the console to display the API type.

exalate-issue-sync[bot] commented 5 months ago

This issue will be fixed in versions 4.1.13, 4.0.22, 4.2.7, 4.4.0, 4.3.2