Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
479 stars 306 forks source link

[BUG] Workspace operations with definition/representation are not loaded #2347

Closed rbickel closed 3 months ago

rbickel commented 7 months ago

Bug description

When a workspace API operation has definitions attached to it, the developer portal operation doesn't load. We can see that the call to retrieve the schema for the operation definitions fails and return a 404.

Reproduction steps

  1. Create a workspace, an API and an operation
  2. Attach a definition to the operation 200 OK response
  3. Open the developer portal and navigate to the workspace API and operation above

Expected behavior

Operation should load in the developer portal

Is your portal managed or self-hosted?

Managed

API Management service name

rbklapim

Environment

Any browser

Additional context

The screenshot below is when accessing an API from a workspace. The operation has a 'Pet' definition attached to it. You can see the request trying to retrieve the schema failing with a 404 error code.

image

malincrist commented 7 months ago

Hello @rbickel , thank you for reporting the issue. I was able to reproduce it locally and it is indeed a bug from our side. I have created an internal work item to investigate this further and we will keep you updated on the progress. Apologies for the inconveniences created.

rubenaster commented 5 months ago

@malincrist what's the current status here? We have several clients that already migrate to Workspaces but have this bug as a huge barrier.

malincrist commented 5 months ago

Hello @rubenaster , unfortunately, the fix for this issue depends on the APIM backend release, which is currently in progress. After the backend release is deployed everywhere we can release the front-end fix. We don't have a clear ETA for now, but probably sometime during February.

malincrist commented 3 months ago

The fix has been deployed everywhere. Closing the issue.