Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text intended for administrative mode only is showing in published version

kamil-sikora opened this issue · comments

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

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