mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

Routing Bugs in the MiniProfilerHandler.cs #111

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Step 1. The ASP.NET MVC project do using MvcPaging package.
Step 2. All the paging url will be wrong because the wrong routing rules from 
MiniProfilerHandler.cs

What is the expected output? What do you see instead?
Wrong Paging url generated by  
RouteCollectionExtensions.GetVirtualPathForArea() method.

What browser (or git/hg/svn client) are you using? On what operating
system?
All

Please provide any additional information below.

I've been fix this problem by replacing MiniProfilerHandler.cs under the 
MvcMiniProfiler\UI\ folder. See attachment.

Also, there is a branche contains the code I wrote to fix the problem.  You can 
freely merge back to your clone.
http://code.google.com/r/doggyhuang-mini-profiler-results-route-error-fixed/

Original issue reported on code.google.com by doggy.hu...@gmail.com on 18 Sep 2011 at 7:28

Attachments:

GoogleCodeExporter commented 8 years ago
Can you revisit with latest, I amended the way routing is done

Original comment by sam.saff...@gmail.com on 13 Feb 2012 at 6:59

GoogleCodeExporter commented 8 years ago
k I merged this in 

Original comment by sam.saff...@gmail.com on 14 Feb 2012 at 5:16