Error from deleting content from publish page

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/14/2012 8:22:15 AM
Gravatar
Total Posts 76

Error from deleting content from publish page

I am sorry if this has been posted before. Please bear with me as I describe the possible bug.  Content is deleted, but the redirect goes directly to the generic error message.  To reproduce this, add a htmlmodule (or anything, not sure yet) to a page.  Go to the settings of that instance and click on publish.  At the end of the publish page is a delete button.  Click it and you will get the generic error.  I was able to get the generic error on the demo site, but could not check the log.  If you un-publish the content before deletion, you go to a permissions denied page instead of the error page.

 Here is a snips from my log file for the generic error:

2012-05-14 09:12:59,897 ERROR 192.168.6.26 - en-US - /manconweb2/Admin/ModuleSettings.aspx?mid=75&pageid=1 - mojoPortal.Web.mojoBasePage - 192.168.6.26-en-US - /manconweb2/Admin/ModuleSettings.aspx?mid=75&pageid=1
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateCustomSettings()
at mojoPortal.Web.AdminUI.ModuleSettingsPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2012-05-14 09:12:59,897 ERROR 192.168.6.26 - en-US - /manconweb2/Admin/ModuleSettings.aspx?mid=75&pageid=1 - mojoPortal.Web.Global - Referrer(https://web.manconinc.com/manconweb2/Admin/ContentManager.aspx?mid=75) useragent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateCustomSettings()
at mojoPortal.Web.AdminUI.ModuleSettingsPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

mojoPortal Version 2.3.8.2 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 1
ASP.NET Info v4.0.30128 Running in Full Trust

5/14/2012 1:40:50 PM
Gravatar
Total Posts 18439

Re: Error from deleting content from publish page

Hi Jonathan,

This is now fixed in the source code repository so it will be fixed in the next release. What was happening is since you first visited the module settings page and from there clicked the link to the publish page, it was redirecting back to the url referer page after deleting the module and in this case the url referer page was the module settings page but since the module instance no longer existed it was causing this error. If you just delete the module from the module settings page or from the publish page but not after visiting the module settings page no error would happen.

Thanks,

Joe

5/14/2012 3:12:13 PM
Gravatar
Total Posts 76

Re: Error from deleting content from publish page

Thanks Joe. 

You must sign in to post in the forums. This thread is closed to new posts.