Register   Login
     
  Latest Posts  
Has pay-per-ad. been added yet?
by wpmilk on 1/08/2009 7:13 PM
Has pay-per-ad. been added yet?
by wpmilk on 1/08/2009 7:13 PM
RE: Zoom for map
by richardcook on 1/08/2009 6:39 PM
RE: Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 5:47 PM
Simple Lightbox
by eureka on 1/08/2009 5:39 PM
RE: Does anyone have XHTML Compliant PA Template
by netmds on 1/08/2009 5:21 PM
User Profile Integration
by blob150 on 1/08/2009 5:07 PM
RE: RSS and Calendar Icons not showing in new template
by lolorn on 1/08/2009 4:38 PM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/08/2009 3:38 PM
Use Lists in host menu in custom field
by Codepoint on 1/08/2009 3:32 PM
  Forums  
Subject: Bug in cmdPublishArticle_Click and cmdSaveArticle_Click
Prev Next
You are not authorized to post a reply.

Author Messages
Timothy PattersonUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:17

11/14/2008 8:22 PM  

Scott,

I've been noticing a lot of ThreadAbortion exceptions being thrown in cmdSaveArticle_Click and cmdPublishArticle_Click when saving articles, that are causing major problems in putting in the summary on my site.  I am running DNN 4.9.0 with your latest build (.17) btw.

The errors are being thrown whenever you do a response.redirect.  It seems that changing the endResponse param from true (what you have) to false fixes the issue.

Was there a particular reason you were using "true"?  This is has been a habitual problem with the whole summary problem, and I finally had a chance to track it down.

If there wasn't a particular reason, could you slot this for the next release for a fix?

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


11/17/2008 5:08 AM  
I follow what the core does, it does response.redirect with the true parameter all the time.

From DNN5

Private Sub cmdDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDelete.Click
Try
Dim objModules As New ModuleController
objModules.DeleteTabModule(TabId, ModuleId)
Response.Redirect(NavigateURL(), True)
Catch exc As Exception 'Module failed to load
ProcessModuleLoadException(Me, exc)
End Try
End Sub

You only get issues with news articles?

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > News Articles > Bug in cmdPublishArticle_Click and cmdSaveArticle_Click



ActiveForums 3.7