Quantcast
Channel: BugNET Issue Tracker (Moved to GitHub)
Viewing all articles
Browse latest Browse all 2179

Commented Issue: Unable to save Issue (1.6) [209]

$
0
0
I changed the Owned by and Assigned to fields to different people. When I pressed Save & Return I received an error. I pressed the try again link and it still failed. I went back to the issue and pressed Save and I also received an error. The error message wasn't too descriptive so I went to the log table and found the following:


Id Date Thread Level Logger User Message Exception
2135 2014-06-11 11:59:10.420 12 ERROR BugNET.Global dylanvdm Application Error System.InvalidOperationException: An asynchronous module or handler completed while an asynchronous operation was still pending.


I have since reverted back to version version 1.5 in the mean time.
Comments: From my understanding about the new async features, it does still work asynchronously, but waits to continue execution of that method. > The await operator tells the compiler that the async method can't continue past that point until the awaited asynchronous process is complete. In the meantime, control returns to the caller of the async method. In this context, it will move on to sending the next email and doesn't wait till the first one is complete. (at least from my understanding) If you do not include the await keyword, you also get a compiler warning: > Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.

Viewing all articles
Browse latest Browse all 2179

Trending Articles