api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

UI Issues and Bugs with the Operation Details Widget.

Open Ledger94 opened this issue 2 years ago • 3 comments

Bug description

  • It shouldn't be possible to edit or remove required headers

image

It shouldn't be possible to remove or edit Authorization or Ocp-Apim-Subscription-Key headers.

  • Setting values in APIM parameters is causing the parameter value to become un-editable.

image

In the screenshot a value for countrycode was added, it isn't possible to modify it. Also it isn't set as default in APIM, therefore it should also be empty with the option to select FRA.

  • Getting a 401 error that says access denied error due to missing subscription key, even though the product is already subscripted to.

image

If the network console is checked, we see that the headers are being sent as "0: name: value" ex: "2: Ocp-Apim-Subscription-Key: value".

image

Reproduction steps

  1. Go to a page with the Operation Details widget.

Expected behavior

  • It shouldn't be possible to edit or remove required headers.
  • When adding parameter values in APIM, it should still be possible to edit the parameter. Also it should only default to the value, when it is set as the default in APIM.
  • Sending requests for products you are properly subscripted to shouldn't give a 401 error.

Is your portal managed or self-hosted?

Self-hosted

Release tag or commit SHA (if using self-hosted version)

release 2.18.0

API Management service name

apim-apip-internal-dev-naa

Environment

  • Operating system: Windows 10
  • Browser: Chrome: 102

Ledger94 avatar Jul 20 '22 21:07 Ledger94

@Ledger94, thank you for opening this issue. We will triage it within the next few business days.

msftbot[bot] avatar Jul 20 '22 21:07 msftbot[bot]

@Ledger94, thank you for requesting this feature.

msftbot[bot] avatar Aug 02 '22 23:08 msftbot[bot]

@Ledger94, your requests make sense, we'll make respective changes. Regarding the request headers issue, it was fixed last week. It should have automatically apply the changes, but if it didn't please just publish the portal one more time.

azaslonov avatar Aug 02 '22 23:08 azaslonov