Azure / api-management-developer-portal

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

Text intended for administrative mode only is showing in published version #2444

Closed kamil-sikora closed 3 months ago

kamil-sikora commented 3 months ago

Bug description

Widgets Sign-in button: OAuth and Sign-up form: OAuth show text "...This message appears only in the portal's administrative mode and the widget will be rendered as an empty space in the published portal, so you don't need to remove it." not only in administrative mode. Actually this text is displayed all the time in published portal.

A clear and concise description of the bug.

Reproduction steps

  1. Create a simple page
  2. Add widget Sign-in button: OAuth and/or Sign-up form: OAuth
  3. Text "...This message appears only in the portal's administrative mode and the widget will be rendered as an empty space in the published portal, so you don't need to remove it." is visible in administrative mode administrative-mode
  4. Publish new version of developer portal
  5. Navigate to newly created page (regular way, not in administrative mode)
  6. In those widgets the text "...This message appears only in the portal's administrative mode and the widget will be rendered as an empty space in the published portal, so you don't need to remove it." is displayed published

Expected behavior

Text intended only for administrative mode is not displayed outside this mode.

Is your portal managed or self-hosted?

Managed

sthirthala commented 3 months ago

For managed portal, please log support tickets in Azure help+support center

https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request