Thanks for the quick reply. I've privately responded to Gonzalo with the test case (I've never written a test case so I gave it to him to make sure the bug submission didn't get screwed up.) But just to help anyone else out, I'm going to attach the sample I sent to Gonzalo. There is a default route created that has a static Controller of "Home" and static action of "Index". I'm decorated 3 methods in the controller with the actionname of "Index" and each has a different accept verb (Get, Post and Put). When testing under Mono 2.4.2 or 2.4.2.1 (only versions I have tested) you will get the error message I reported. When you test the route "WorkingRoute" by issuing a get request for "/working" you will get a response of 200 with the content of "Working Sample".
-Shaun Gonzalo Paniagua Javier-5 wrote: > > On Fri, 2009-07-17 at 12:42 -0700, sberryman wrote: >> When using overloaded methods in ASP.NET MVC on Mono I keep getting "key >> was >> not present in the dictionary" >> >> I'm trying to do the following in my controller: >> >> [ActionName("Item")] >> [AcceptVerbs(HttpVerbs.Post)] >> public ActionResult ItemPost() {} > > Can you enter a bug in bugzilla.novell.com with the smallest > self-contained test case you can get? If you don't want to open an > account in bugzilla, feel free to email me the test and I'll open the > bug report. We will also need to know which version of mono you're > running. > > -Gonzalo > > > _______________________________________________ > Mono-aspnet-list mailing list > Mono-aspnet-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-aspnet-list > > http://www.nabble.com/file/p24541884/Mono_ActionNameTest.zip Mono_ActionNameTest.zip -- View this message in context: http://www.nabble.com/ActionNameAttribute-not-working-tp24539820p24541884.html Sent from the Mono - ASP.NET mailing list archive at Nabble.com. _______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list