zHaytam / SmartBreadcrumbs

A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.
https://blog.zhaytam.com/2018/06/24/asp-net-core-using-smartbreadcrumbs/
MIT License
161 stars 77 forks source link

SmartBreadCrumbsException - No Node Exists #58

Closed BrenMcM closed 4 years ago

BrenMcM commented 4 years ago

Hi, I am trying to implement Breadcrumbs into a small MVC App with a single controller. However, I keep getting the exception "No Node Exists the has ReviewApplication as a Key"

Even though I have Breadcrumbs setup for this Action e.g.

[Breadcrumb("ReviewApplication", FromAction = "Apply_Step4") public async Task ReviewApplication() { ... }

[Breadcrumb("EditApplication", FromAction = "ReviewApplication") public async Task EditApplication() { ... }

zHaytam commented 4 years ago

Can you try to set the FromAction like this: ControllerName.ReviewApplication?

zHaytam commented 4 years ago

I'm assuming your issue was fixed? Feel free to re-open.