Azure / Azure/api-management-developer-portal
Self-hosted - menu items link action set to 'Open in the same window' opens in a new window
- Dominant language
- TypeScript
- Stars
- 545
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
## Bug description
A clear and concise description of the bug.
## Reproduction steps
1. Go to Site menu
2. Configure any Site menu item
3. Select page (e.g. Product:List)
4. Assign location (e.g. Main menu)
5. Link action (e.g. Open in the same window)
## Expected behavior
Application navigates to the Product list page in the same window (tab)
## Is self-hosted portal?
Yes
## Release tag or commit SHA (if using self-hosted version)
release 2.32.0, commit d4ebd821ff384c692c42d017fbd0cbcd2448a067
## API Management service name
https://stapimportalcc01.z9.web.core.windows.net/
## Environment
-Google Chrome, Safari] windos
## Additional context
Add any other context about the problem here, including screenshots.
See how the target is set to "undefined" instead of _self
Also note that if I use the developer tools and set the target to _self, it does navigate in the same window but the page does not show the layout/menu.
Is there a configuration missing somewhere which I should look at?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the Site menu using release 2.32.0 and the provided reproduction steps. Inspect the generated menu link, especially its target value, and compare same-window navigation with the expected Product list page layout. Done means selecting “Open in the same window” navigates in the current tab while preserving the page layout and menu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100