[Mono-bugs] [Bug 604502] HttpServerUtility.Execute() fails with ASP.Net MVC 2

2010-05-12 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=604502

http://bugzilla.novell.com/show_bug.cgi?id=604502#c3


Oskar Berggren oskar.bergg...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
   InfoProvider|oskar.bergg...@gmail.com|

--- Comment #3 from Oskar Berggren oskar.bergg...@gmail.com 2010-05-12 
07:29:57 UTC ---
Created an attachment (id=361586)
 -- (http://bugzilla.novell.com/attachment.cgi?id=361586)
Test case - simple ASP.Net MVC 2 project with RenderAction()

My experiment was actually based on an existing internal project, but here is a
project created from scratch. Only a few lines more than MonoDevelop's standard
ASP.NET MVC template. Note that the System.Web.MVC reference has been changed
to a local copy (included).

Loading the default action (localhost:8080/) will trigger the exception.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 604502] HttpServerUtility.Execute() fails with ASP.Net MVC 2

2010-05-12 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=604502

http://bugzilla.novell.com/show_bug.cgi?id=604502#c4


Marek Habersack mhabers...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from Marek Habersack mhabers...@novell.com 2010-05-12 13:10:36 
CEST ---
Fixed in r157221 (trunk) and in r157222 (2.6 branch)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 604502] HttpServerUtility.Execute() fails with ASP.Net MVC 2

2010-05-11 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=604502

http://bugzilla.novell.com/show_bug.cgi?id=604502#c2


Marek Habersack mhabers...@novell.com changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
   InfoProvider||oskar.bergg...@gmail.com

--- Comment #2 from Marek Habersack mhabers...@novell.com 2010-05-12 04:49:25 
CEST ---
From what you write, you're experimenting with MVC2, so I assume the code which
bombs for you is in some sample you're playing with - just attach the entire
solution packed as zip/tarball. It will make a perfect test case. Please reopen
the bug after attaching the test case, thanks.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 604502] HttpServerUtility.Execute() fails with ASP.Net MVC 2

2010-05-10 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=604502

http://bugzilla.novell.com/show_bug.cgi?id=604502#c1


--- Comment #1 from Oskar Berggren oskar.bergg...@gmail.com 2010-05-10 
22:21:28 UTC ---
I think major because it breaks RenderAction(), which I believe is a very
important part of Asp.Net MVC 2. I don't know any workaround.


I tried putting
if (ar.AsyncWaitHandle != null)
above the call to WaitOne(), and that resolved the issue for me.

Thinking further, isn't the idea with this style of asynchronous programming
that you are allowed to call the EndXXX() method at any time, and that it will
block if it isn't already finished? (Supperted by the Ending an Asynchronous
Operation section of http://msdn.microsoft.com/en-us/library/ms228963.aspx.)
In that case, just removing the call to WaitOne() should be ok.

Supposedly, HttpServerUtility should one day implement the asynchronous style
fully instead of just blocking, but it would be nice to get this fix in the
meantime.

Haven't found time to write a test case. And I'm not sure how to go about in
doing so, for this case.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 604502] HttpServerUtility.Execute() fails with ASP.Net MVC 2

2010-05-10 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=604502

http://bugzilla.novell.com/show_bug.cgi?id=604502#c


Marek Habersack mhabers...@novell.com changed:

   What|Removed |Added

   Severity|Major   |Normal

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs