wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
846 stars 785 forks source link

[APIM-4.0.0][Beta]-Getting empty page in devportal for the published APIs that doesn't have revisions deployed in the gateway #10785

Closed saranki closed 3 years ago

saranki commented 3 years ago

Description:

In the WSO2 APIM-4.0.0 Beta release, even if an API is having the endpoint details, business plan details and published to the devportal if it doesn't have any versions deployed to the gateway, it is giving an empty page in the devportal. No error/warning messages were displayed on the publisher or devportal UI nor in carbon console logs. This issue is not occurring for the APIs in the following scenario.

  1. Sample Pizzashack API
  2. If the "Create & Publish" button is clicked on the publisher portal
  3. If the API has a revision and has been published in the gateway as follows image

Steps to reproduce:

  1. Create an API in the publisher (click on create not on create and publish)
  2. Add endpoint details and select the business plan
  3. The API has completed all the requirements in order to get published image
  4. Publish the API and check the API's overview tab in the publisher portal image
  5. Click on the "View in devportal" button on the right top corner
  6. You will be directed to the devportal API list view
  7. Select the published API
  8. You will get the following empty page image

Affected Product Version:

wso2am-4.0.0-beta

tmkasun commented 3 years ago

Related issue https://github.com/wso2/product-apim/issues/10786

dushansilva commented 3 years ago

assigned to @erangatl since its he is already working on similar issue, both can be closed together