api-management-developer-portal
api-management-developer-portal copied to clipboard
UI Issues and Bugs with the Operation Details Widget.
Bug description
- It shouldn't be possible to edit or remove required headers
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.
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.
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".
Reproduction steps
- 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, thank you for opening this issue. We will triage it within the next few business days.
@Ledger94, thank you for requesting this feature.
@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.