Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Menu TagHelper links defined via asp-action and asp-controller #7035

Closed
StoyanGoranov opened this issue Sep 14, 2022 · 0 comments
Closed
Assignees
Labels
Bug C: Menu FP: Completed Sync status with associated Feedback Item S: Wrappers (ASP.NET Core)

Comments

@StoyanGoranov
Copy link

StoyanGoranov commented Sep 14, 2022

Bug report

Menu Tag Helper links do not work after security trimming was introduced.
Link do not appear properly in a TagHelper menu that uses asp-action and asp-controller.

Reproduction of the problem

  1. In app that uses Telerik UI for ASP .NET Core 2022.2.510 or configure a TagHelper Menu with the following TagHelpers:
       <menu-item text="Furniture">
             <sub-items>
                 <menu-item text="Tables & Chairs" asp-action="About" asp-controller="Home" ></menu-item>
              </sub-items>
       </menu-item>
  1. Run the project

In version 2.1 the application crashes

Expected/desired behavior

Microsoft Tag Helpers should create a working anchor tag

Environment

  • Kendo UI version: 2022.2.510
@kendo-bot kendo-bot added the FP: Unplanned Sync status with associated Feedback Item label Sep 14, 2022
@Dimitar-Goshev Dimitar-Goshev added FP: In Development Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Sep 29, 2022
@Dimitar-Goshev Dimitar-Goshev changed the title Menu Tag Helper links do not work after security trimming was introduced Broken Menu TagHelper links defined via asp-action and asp-controller Oct 10, 2022
@Dimitar-Goshev Dimitar-Goshev added Next LIB FP: Completed Sync status with associated Feedback Item and removed Next LIB FP: In Development Sync status with associated Feedback Item labels Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: Menu FP: Completed Sync status with associated Feedback Item S: Wrappers (ASP.NET Core)
Projects
None yet
Development

No branches or pull requests

4 participants