maartenba/MvcSiteMapProvider — Issue #6: Current node wrong when differentiate by route data
Author: OnesAndTwos
Created: 2011-12-22 18:50:16+00:00
State: open

If you have multiple site mvcSiteMapNodes for the same Controller and Action but have different route values then the Current Node is calculated wrongly. Take a single Controller with two different Actions repeated but with custom RouteData of "type" which varies, the Current Node will always be for the first type.

CurrentNode will always be Type1 even when selecting Type2